apache-mod-negotiation-listing: Apache mod_negotiation - Pseudo Directory Listing
- Template: apache-mod-negotiation-listing
- Name: Apache mod_negotiation - Pseudo Directory Listing
- Description: Detected Apache server with mod_negotiation and MultiViews enabled, exposing a pseudo directory listing when invalid Accept headers are sent to extensionless filenames.
- Severity: low
- Authors: 0x_Akoko
- Tags: apache, misconfig, exposure, mod-negotiation, vuln
- References: https://www.acunetix.com/vulnerabilities/web/apache-mod_negotiation-filename-bruteforcing/, https://cwe.mitre.org/data/definitions/538.html
- Verified: yes
- Max requests: 5
- Directory: http/misconfiguration
- Path: http/misconfiguration/apache/apache-mod-negotiation-listing.yaml
- Digest: 4a0a00473045022100cc3ca39c3e7ecee6029c5667237d11ab706ae5fa18407a30133df8fcd904702a022061b928bb8e086fc220c2423104b21433a0c8dfb78baf0b89cfb00fe66f0952cf
- Created at: 2025-12-24T05:57:56Z
- Updated at: 2026-09-08T09:47:47Z
- Age in days: 335
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/misconfiguration/apache/apache-mod-negotiation-listing.yaml
- Checked, none or zero: cves, products
- Not known: impact, remediation
Classification
- Cwe: CWE-538
- Cvss score: 5.3
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Not known: epss score, epss percentile, cpe
Metadata
- Max-request: 5
- Verified: yes
Labels
- Name: Apache mod_negotiation - Information Disclosure
- Impact: Attackers can enumerate files and directory structure, potentially disclosing sensitive information about the server.
- Remediation: Disable MultiViews in mod_negotiation configuration or update to the latest Apache HTTP Server version.
- Vulnerability type: misconfiguration
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: securitycontext
- Not known: requirements, from cve
```yaml
id: apache-mod-negotiation-listing
info:
name: Apache mod_negotiation - Pseudo Directory Listing
author: 0x_Akoko
severity: low
description: |
Detected Apache server with mod_negotiation and MultiViews enabled, exposing a pseudo directory listing when invalid Accept headers are sent to extensionless filenames.
reference:
- https://www.acunetix.com/vulnerabilities/web/apache-mod_negotiation-filename-bruteforcing/
- https://cwe.mitre.org/data/definitions/538.html
classification:
cwe-id: CWE-538
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
cvss-score: 5.3
metadata:
verified: true
max-request: 5
tags: apache,misconfig,exposure,mod-negotiation,vuln
http:
- raw:
- |
GET {{path}} HTTP/1.1
Host: {{Hostname}}
Accept: fake/fake
payloads:
path:
- /index
- /test
- /admin
- /login
- /config
matchers-condition: and
matchers:
- type: word
part: body
words:
- "Available variants"
- "href="
condition: and
- type: status
status:
- 406
- type: word
part: header
words:
- "text/html"
extractors:
- type: regex
name: exposed_files
part: body
regex:
- '<a href="([^"]+)">'
group: 1
digest: 4a0a00473045022100cc3ca39c3e7ecee6029c5667237d11ab706ae5fa18407a30133df8fcd904702a022061b928bb8e086fc220c2423104b21433a0c8dfb78baf0b89cfb00fe66f0952cf:922c64590222798bb761d5b6d8e72950
```