title: "OWASP A05 — Security Misconfiguration (directory listing / sensitive file exposure) — OWASP A05 — Confidential acquisitions document publicly readable"
id: "b669f873-844c-4222-97f4-13b5f9ec774c"
status: experimental
description: |
    Auto-generated starter rule from DoesItDefend finding fnd_f5975736e87a2e64c1f3f65d.
    
    Detection gap observed:
    Probe a05-ftp-acquisitions-001 confirmed vulnerable. Indicator matched: status=200. Confidential acquisitions document publicly readable
    
    Recommended defense:
    Disable directory listing (autoindex off on nginx, Options -Indexes on Apache). Move sensitive files out of the webroot. Apply deny-by-default policy to static files.
author: "DoesItDefend (auto-generated)"
references:
  - "doesitdefend://finding/fnd_f5975736e87a2e64c1f3f65d"
  - "https://attack.mitre.org/techniques/T1083/"
date: "2026-12-03"
tags:
  - attack.t1083
  - doesitdefend.severity.medium
logsource:
  product: webserver
  category: access
detection:
  selection:
    cs-uri-stem|contains:
      - /ftp
      - /.git
      - /.env
      - /encryptionkeys
    http_status: 200
  condition: selection
falsepositives:
  - "Intentionally-public asset directories"
level: medium
---
title: "OWASP A03 — Injection (SQLi / XSS / NoSQLi) — OWASP A03 — Order-by SQL injection via sort param (error-based detection)"
id: "f40e63dd-1f66-4db9-b388-990a127d0a8f"
status: experimental
description: |
    Auto-generated starter rule from DoesItDefend finding fnd_038995f689e6f959896f630f.
    
    Detection gap observed:
    Probe a03-sqli-order-by-001 confirmed vulnerable. Indicator matched: status=400. Order-by SQL injection via sort param (error-based detection)
    
    Recommended defense:
    Use prepared statements (parameterized queries). Validate and sanitize input at the boundary. Apply context-aware output encoding to prevent XSS. Treat a WAF as a defensive layer, not the primary control.
author: "DoesItDefend (auto-generated)"
references:
  - "doesitdefend://finding/fnd_038995f689e6f959896f630f"
  - "https://attack.mitre.org/techniques/T1190/"
date: "2026-12-03"
tags:
  - attack.t1190
  - doesitdefend.severity.high
logsource:
  product: webserver
  category: access
detection:
  keywords:
    - "' OR 1=1"
    - "UNION SELECT"
    - "DROP TABLE"
    - "<script>"
    - "javascript:"
    - "<img src=x onerror"
    - "<iframe src=\"javascript"
  condition: keywords
falsepositives:
  - "Penetration testing tools"
  - "Security research / bug bounty"
level: high
---
title: "OWASP A09 — Logging/Security Logging Failure (key/secret directory exposure) — OWASP A09 — Encryption keys directory listing leaks premium.key"
id: "fcbfa939-f32a-4813-9db6-a00b89b6239b"
status: experimental
description: |
    Auto-generated starter rule from DoesItDefend finding fnd_b3accecc820491f813dcc857.
    
    Detection gap observed:
    Probe a09-secret-keys-001 confirmed vulnerable. Indicator matched: body~"premium.key". Encryption keys directory listing leaks premium.key
    
    Recommended defense:
    Never expose keystore/secret directories via the webroot. Rotate compromised keys. Centralize secret management in Secret Manager/Vault.
author: "DoesItDefend (auto-generated)"
references:
  - "doesitdefend://finding/fnd_b3accecc820491f813dcc857"
  - "https://attack.mitre.org/techniques/T1552/001/"
date: "2026-12-03"
tags:
  - attack.t1552.001
  - doesitdefend.severity.high
logsource:
  product: webserver
  category: access
detection:
  response_keywords:
    - premium.key
    - private.key
    - id_rsa
    - .pem
  condition: response_keywords
falsepositives:
  - "Public example keys clearly marked as canaries"
level: high
---
title: "OWASP A05 — Security Misconfiguration (directory listing / sensitive file exposure) — OWASP A05 — FTP directory listing exposed at /ftp"
id: "8c32c068-c2e2-43ed-b9e1-e7d4c179c9e5"
status: experimental
description: |
    Auto-generated starter rule from DoesItDefend finding fnd_0b5c396caf006a226b29f83b.
    
    Detection gap observed:
    Probe a05-ftp-listing-001 confirmed vulnerable. Indicator matched: body~"package.json". FTP directory listing exposed at /ftp
    
    Recommended defense:
    Disable directory listing (autoindex off on nginx, Options -Indexes on Apache). Move sensitive files out of the webroot. Apply deny-by-default policy to static files.
author: "DoesItDefend (auto-generated)"
references:
  - "doesitdefend://finding/fnd_0b5c396caf006a226b29f83b"
  - "https://attack.mitre.org/techniques/T1083/"
date: "2026-12-03"
tags:
  - attack.t1083
  - doesitdefend.severity.high
logsource:
  product: webserver
  category: access
detection:
  selection:
    cs-uri-stem|contains:
      - /ftp
      - /.git
      - /.env
      - /encryptionkeys
    http_status: 200
  condition: selection
falsepositives:
  - "Intentionally-public asset directories"
level: medium
---
title: "OWASP A01 — Broken Access Control (IDOR / admin-route exposure) — OWASP A01 — Poison-null byte path traversal bypasses .md whitelist"
id: "a94445b1-a00e-49a9-9291-6edbb3c5e373"
status: experimental
description: |
    Auto-generated starter rule from DoesItDefend finding fnd_4a10a2fa9d6762d59a7d2d9e.
    
    Detection gap observed:
    Probe a01-pathtraversal-ftp-001 confirmed vulnerable. Indicator matched: body~"dependencies". Poison-null byte path traversal bypasses .md whitelist
    
    Recommended defense:
    Enforce per-resource authorization (not just authentication). Validate ownership via tenant_id/user_id before returning data. Add per-user rate limits on enumeration-prone endpoints.
author: "DoesItDefend (auto-generated)"
references:
  - "doesitdefend://finding/fnd_4a10a2fa9d6762d59a7d2d9e"
  - "https://attack.mitre.org/techniques/T1190/"
date: "2026-12-03"
tags:
  - attack.t1190
  - doesitdefend.severity.high
logsource:
  product: webserver
  category: access
detection:
  selection:
    cs-uri-stem|contains:
      - /api/Users
      - /rest/basket/
      - /api/Feedbacks/
      - /administration
      - /ftp/
  condition: selection
falsepositives:
  - "Legitimate admin access from allow-listed IPs"
level: high
---
title: "OWASP A03 — Injection (SQLi / XSS / NoSQLi) — OWASP A03 — Error-based UNION injection in product search: result-column mismatch forces an unhandled SQLite error into the response body, proving the payload reaches the statement builder verbatim"
id: "90c05809-baa4-44cf-8a8c-e0edb89661a1"
status: experimental
description: |
    Auto-generated starter rule from DoesItDefend finding fnd_85cfb0c982a89d78eea67456.
    
    Detection gap observed:
    Probe a03-sqli-search-001 confirmed vulnerable. Indicator matched: body~"SQLITE_ERROR". Error-based UNION injection in product search: result-column mismatch forces an unhandled SQLite error into the response body, proving the payload reaches the statement builder verbatim
    
    Recommended defense:
    Use prepared statements (parameterized queries). Validate and sanitize input at the boundary. Apply context-aware output encoding to prevent XSS. Treat a WAF as a defensive layer, not the primary control.
author: "DoesItDefend (auto-generated)"
references:
  - "doesitdefend://finding/fnd_85cfb0c982a89d78eea67456"
  - "https://attack.mitre.org/techniques/T1190/"
date: "2026-12-03"
tags:
  - attack.t1190
  - doesitdefend.severity.high
logsource:
  product: webserver
  category: access
detection:
  keywords:
    - "' OR 1=1"
    - "UNION SELECT"
    - "DROP TABLE"
    - "<script>"
    - "javascript:"
    - "<img src=x onerror"
    - "<iframe src=\"javascript"
  condition: keywords
falsepositives:
  - "Penetration testing tools"
  - "Security research / bug bounty"
level: high
---
title: "OWASP A01 — Broken Access Control (IDOR / admin-route exposure) — OWASP A01 — Administration UI route reachable without auth check on frontend"
id: "5e854237-c3b8-4769-a112-4f9126244ac3"
status: experimental
description: |
    Auto-generated starter rule from DoesItDefend finding fnd_472248d9d006f7606b1d29f5.
    
    Detection gap observed:
    Probe a01-admin-public-001 confirmed vulnerable. Indicator matched: status=200. Administration UI route reachable without auth check on frontend
    
    Recommended defense:
    Enforce per-resource authorization (not just authentication). Validate ownership via tenant_id/user_id before returning data. Add per-user rate limits on enumeration-prone endpoints.
author: "DoesItDefend (auto-generated)"
references:
  - "doesitdefend://finding/fnd_472248d9d006f7606b1d29f5"
  - "https://attack.mitre.org/techniques/T1190/"
date: "2026-12-03"
tags:
  - attack.t1190
  - doesitdefend.severity.high
logsource:
  product: webserver
  category: access
detection:
  selection:
    cs-uri-stem|contains:
      - /api/Users
      - /rest/basket/
      - /api/Feedbacks/
      - /administration
      - /ftp/
  condition: selection
falsepositives:
  - "Legitimate admin access from allow-listed IPs"
level: high
---
title: "OWASP A03 — Injection (SQLi / XSS / NoSQLi) — OWASP A03 — SQL injection in login email bypasses authentication (classic ' OR 1=1--)"
id: "bd827aa3-9b0e-4d2b-83b5-7607c630dcb1"
status: experimental
description: |
    Auto-generated starter rule from DoesItDefend finding fnd_5c91fbdc64fea490520fa65f.
    
    Detection gap observed:
    Probe a03-sqli-login-email-001 confirmed vulnerable. Indicator matched: body~"authentication". SQL injection in login email bypasses authentication (classic ' OR 1=1--)
    
    Recommended defense:
    Use prepared statements (parameterized queries). Validate and sanitize input at the boundary. Apply context-aware output encoding to prevent XSS. Treat a WAF as a defensive layer, not the primary control.
author: "DoesItDefend (auto-generated)"
references:
  - "doesitdefend://finding/fnd_5c91fbdc64fea490520fa65f"
  - "https://attack.mitre.org/techniques/T1190/"
date: "2026-12-03"
tags:
  - attack.t1190
  - doesitdefend.severity.critical
logsource:
  product: webserver
  category: access
detection:
  keywords:
    - "' OR 1=1"
    - "UNION SELECT"
    - "DROP TABLE"
    - "<script>"
    - "javascript:"
    - "<img src=x onerror"
    - "<iframe src=\"javascript"
  condition: keywords
falsepositives:
  - "Penetration testing tools"
  - "Security research / bug bounty"
level: high
---
title: "OWASP A03 — Injection (SQLi / XSS / NoSQLi) — OWASP A03 — SQL injection with comment terminator bypasses password check"
id: "6f637174-8b49-4076-8893-ddc2c8c4d043"
status: experimental
description: |
    Auto-generated starter rule from DoesItDefend finding fnd_c08573b7bac86c53cba40c8e.
    
    Detection gap observed:
    Probe a03-sqli-login-quote-001 confirmed vulnerable. Indicator matched: body~"authentication". SQL injection with comment terminator bypasses password check
    
    Recommended defense:
    Use prepared statements (parameterized queries). Validate and sanitize input at the boundary. Apply context-aware output encoding to prevent XSS. Treat a WAF as a defensive layer, not the primary control.
author: "DoesItDefend (auto-generated)"
references:
  - "doesitdefend://finding/fnd_c08573b7bac86c53cba40c8e"
  - "https://attack.mitre.org/techniques/T1190/"
date: "2026-12-03"
tags:
  - attack.t1190
  - doesitdefend.severity.critical
logsource:
  product: webserver
  category: access
detection:
  keywords:
    - "' OR 1=1"
    - "UNION SELECT"
    - "DROP TABLE"
    - "<script>"
    - "javascript:"
    - "<img src=x onerror"
    - "<iframe src=\"javascript"
  condition: keywords
falsepositives:
  - "Penetration testing tools"
  - "Security research / bug bounty"
level: high