Target: app.example-client.com ยท Date: 2026-10-06 09:58
Risk score
Executive summary
We ran a security audit of the client's web application. The most serious finding is a publicly accessible configuration file with access credentials - it needs immediate action (block access and rotate the passwords). Beyond that: an outdated server with known vulnerabilities and a CORS misconfiguration in the API, to fix next, plus minor gaps (SPF/DMARC, headers). On the plus side: login correctly blocks dictionary attacks. Recommendations and priorities sit with each finding; we are happy to run a repeat audit after the fixes.
Summary
0CRITICAL
1HIGH
2MEDIUM
3LOW
1GOOD
3INFO
Findings
HIGH
Exposed configuration file (.env)
content
CVSS 7.5A05:2021 Security MisconfigurationCWE-538
DescriptionThe .env file was publicly accessible and contained database credentials and API keys.
EvidenceGET https://app.example-client.com/.env -> 200
DB_PASSWORD=*** (masked in the report)
RecommendationBlock access to configuration files on the server and immediately rotate the exposed passwords and keys.
Referencehttps://owasp.org/www-project-secure-headers/
Analyst commentConfirmed manually: the file really did contain working credentials. Priority 1 - block and rotate before anything else.
MEDIUM
Outdated server with known vulnerabilities
cve_map
CVSS 6.5CWE-1035
DescriptionThe server software version has publicly known vulnerabilities (CVEs).
Evidencenginx 1.18.0 -> incl. CVE-2021-23017 (CVSS 7.3)
RecommendationUpdate the server to a version free of the listed CVEs.
MEDIUM
CORS reflects any Origin
web
CVSS 5.0A05:2021 Security MisconfigurationCWE-942
DescriptionThe server reflects the supplied Origin. The risk depends on the sensitivity of the data returned by the API.
RecommendationRestrict Access-Control-Allow-Origin to trusted domains.
LOW
Missing SPF record
dns_mail
A05:2021 Security Misconfiguration
DescriptionA missing SPF record makes it easier to spoof the domain in e-mail.
RecommendationAdd a TXT record v=spf1 ... -all.
LOW
Missing DMARC record
dns_mail
DescriptionNo DMARC - no enforcement of an anti-spoofing policy.
RecommendationAdd _dmarc TXT v=DMARC1; p=reject.
LOW
Missing security headers
web
A05:2021 Security Misconfiguration
DescriptionRecommended HTTP headers are missing (CSP, X-Frame-Options, nosniff, Referrer-Policy).
RecommendationAdd the missing headers on the server or reverse proxy.
Referencehttps://owasp.org/www-project-secure-headers/
GOOD
Login resists dictionary attacks
active_bruteforce
DescriptionAfter a run of failed attempts the server locked out further logins (lockout). The control works correctly.
INFO
Open port 443/tcp - https
discovery
Evidence443/tcp https nginx
INFO
Detected technologies
web
Evidencenginx, PHP, jQuery, Bootstrap
INFO
Mapped 37 endpoints
crawl
Evidence/, /login, /api, /panel, /uploads ... (list truncated)
Raw tool logs
nmap.txt
$ nmap -sV app.example-client.com
PORT STATE SERVICE
443/tcp open https nginx
(excerpt, anonymized)