- Status Closed
-
Assigned To
cbay - Private
Opened by yadesh - 23.04.2025
Last edited by cbay - 23.04.2025
FS#158 - Bug Report: Directory Traversal via Sitemap XML Reference
Bug Name:
Directory Traversal through Sitemap Schema Reference
Severity:
Medium to High (Information Disclosure)
URL Affected:
https://www.alwaysdata.com/en/sitemap.xml โ references โ http://www.sitemaps.org/schemas/sitemap/0.9 โ references โ https://www.ietf.org/rfc/
๐ Steps to Reproduce:
Go to https://www.alwaysdata.com/en/sitemap.xml.
View the linked schema:
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
Open the namespace URL: http://www.sitemaps.org/schemas/sitemap/0.9
From that page, locate and visit: https://www.ietf.org/rfc/
Observe that the directory listing is enabled on https://www.ietf.org/rfc/.
๐งพ Observed Behavior:
The https://www.ietf.org/rfc/ URL is openly listing all files in the directory, including:
PDF documents
HTML versions
JSON files
File sizes and last modified dates
โ
Expected Behavior:
Directory listing should be disabled to prevent information disclosure.
The endpoint should return a 403 Forbidden or a custom error page.
๐ Impact:
Unintended information disclosure through exposed documents and file structures.
Can help attackers understand server structure or gather sensitive metadata.
May affect trust if directory listing is not intended behavior.
poc :
https://drive.google.com/file/d/198YaCBfL4Zn8iAtGN3FdHPg3-JMt-4Q0/view?usp=sharing
Loading...
Available keyboard shortcuts
- Alt + โง Shift + l Login Dialog / Logout
- Alt + โง Shift + a Add new task
- Alt + โง Shift + m My searches
- Alt + โง Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + โง Shift + e โต Enter Edit this task
- Alt + โง Shift + w watch task
- Alt + โง Shift + y Close Task
Task Editing
- Alt + โง Shift + s save task
Hello,
https://www.ietf.org/rfc/ is not under our control, it has nothing to do with alwaysdata.
Kind regards,
Cyril
thank u for response