Security pattern / case archive

Exposed Version-Control Metadata

A deployed web root exposes repository metadata or object files that allow public recovery of source code or deployment history.

Common discovery signals
  • A request to /.git/HEAD returns a branch reference.
  • The referenced branch and loose Git objects are publicly readable.
  • Recovered commit, tree, or blob objects contain server-side source or deployment details.
Safe validation approach

Follow only the object IDs derived from the exposed repository data, verify each object locally, and stop after the source needed for the tested claim is recovered.

Related classifications

Related entries

Archive connections

Connected case files

01 record
CASE-023WEBVERSE
Connected evidence

CrocThis

Exposed Git Repository / Trusted Header Authentication Bypass

A public .git directory exposed the PHP authorization path. The same /admin/ request changed from 403 to 200 after adding the source-derived X-User identity, and both Caido and curl reached the protected operations console.