Security vulnerabilities

  • Status Closed
  • Assigned To
    cbay
  • Private
Attached to Project: Security vulnerabilities
Opened by 0xasuma - 01.12.2026
Last edited by cbay - 01.12.2026

FS#573 - [SECURITY] .git directory exposed on security.alwaysdata.com

Researcher: 0xasuma
Date: 2026-12-01

Reproduced with plain curl, no authentication, no automated scanning tools. No data
belonging to other customers was read or accessed.

1. SUMMARY

The reporting platform serves its own .git metadata: HEAD, config (including the upstream
remote URL), index (942 tracked paths with sizes and blob hashes), packed-refs, and logs/HEAD
with a staff identity and deployment timestamps.

The repository itself cannot be reconstructed - loose objects return 404, the pack directory
returns 403, and info/refs?service=git-upload-pack returns 404. So this is metadata and
inventory disclosure, not source-code disclosure.

2. REPRODUCTION

curl -s -o /dev/null -w '%{http_code} %{size_download}\n' \
     https://security.alwaysdata.com/.git/HEAD
200 23
curl -s https://security.alwaysdata.com/.git/HEAD
ref: refs/heads/master
curl -s https://security.alwaysdata.com/.git/config
[remote "origin"]
    url = https://github.com/flyspray/flyspray.git
    fetch = +refs/heads/*:refs/remotes/origin/*
curl -s -o /dev/null -w '%{http_code} %{size_download}\n' \
     https://security.alwaysdata.com/.git/index
200 102386
curl -s https://security.alwaysdata.com/.git/logs/HEAD
... Cyril Bay <cbay@alwaysdata.com> 1704809861 +0100  clone: from https://github.com/flyspray/flyspray.git
... Cyril Bay <cbay@alwaysdata.com> 1783927681 +0100  pull: Fast-forward

Control checks:

curl -s -o /dev/null -w '%{http_code}\n' https://security.alwaysdata.com/.git/objects/a1/ffafd6...
404
curl -s -o /dev/null -w '%{http_code}\n' https://security.alwaysdata.com/.git/objects/pack/
403
curl -s -o /dev/null -w '%{http_code}\n' \
     'https://security.alwaysdata.com/.git/info/refs?service=git-upload-pack'
404

3. IMPACT AND HISTORY

Impact: an unauthenticated visitor can read the internal file inventory (942 paths with sizes
and blob hashes), every ref, the upstream remote, and a staff identity plus the timestamps of
the last clone and pull. That is useful reconnaissance against the reporting platform itself,
and it exposes an internal address that is otherwise not public.

SCOPE NOTE: security.alwaysdata.com is not in the written scope list either. I am reporting it
because  FS#532 ,  FS#543  and  FS#544  all concern this exact exposure on this exact host and were
all marked Duplicate, which means the exposure itself was accepted as real. This is the
fourth occurrence on the same host, so it is in scope by precedent.

4. SUGGESTED FIX

Deny access to .git at the web server (location rule / RedirectMatch 404), and add a
deployment check that fails the build if .git is reachable from the docroot. This has now
regressed three times, so a one-off cleanup will not hold.

DISCLOSURE AND TIMELINE

2026-12-01  findings reproduced and evidence captured
2026-12-01  report prepared for https://security.alwaysdata.com/ (no email, per program rules)
Test accounts: bcoilab26 / bcoilab27, both registered by me for this test.

No data belonging to other customers was accessed. No denial-of-service testing was performed.
No automated scanning tools were used.

Closed by  cbay
01.12.2026 13:06
Reason for closing:  Duplicate
Additional comments about closing:  

https://security.alwaysda ta.com/task/18

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing