Skip to content

Pagekit Docker Image Exposes .htaccess File #6

@mbiesiad

Description

@mbiesiad

Hi, first of all - great work with the repo.

Pagekit Docker Image Exposes .htaccess File

Description

The community Pagekit Docker image (pagekit/pagekit on Docker Hub) allows public access to the .htaccess file located in the web root.
This file contains configuration rules for Apache and should not be exposed, as it can reveal sensitive application details and URL rewrites.
The exposure is due to a missing Apache configuration directive to deny access to hidden files (e.g., <Files ".ht*"> Require all denied ).

Proof of Concept

Screenshot

Image

Details

CWE:

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-284: Improper Access Control
  • CWE-285: Improper Authorization

References

Best regards,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions