POJIA破甲
地图 / [serve] Directory listing and File access even when they have been set to be ignored (using dot-slash)

[serve] Directory listing and File access even when they have been set to be ignored (using dot-slash)

信息泄露 / 目录列表泄露 / #330724

厂商
Node.js third-party modules
严重程度
高危 · CVSS 9.3
赏金
—
弱点
目录列表泄露
研究员
@tungpun
披露日期
2018-05-30
资产
serve
CVE
CVE-2019-5415

该报告还没有中文解读。

原文摘录

摘自原文(2298 字符中的一小部分)
I would like to report a vulnerability in **serve**. It allows listing directory and reading local files on the target server.
原文中的代码
const serve = require('serve')
const server = serve(__dirname, {
      port: 6060,
      ignore: ['dir/secret.txt', 'dir/dir2']
})

默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Node.js third-party modules 所有。

时间线

  • 报告提交
  • 公开披露
阅读 HackerOne 原文 ↗作者 @tungpun · 版权归作者与 Node.js third-party modules 所有

同类报告

Bitmoji source code is accessibleSnapchat · 2021-07-31 · $1,000Directory Listing of publicly available assetsNextcloud · 2025-09-29Information Disclosure Due To exposed .env file (Directory Listing) at ████████AWS VDP · 2024-10-22Information Exposure Through Directory Listing vulnerability on 8 vcache**.usw2.snappytv.com websitesX / xAI · 2019-02-11[glance] Access unlisted internal files/folders revealing sensitive informationNode.js third-party modules · 2019-02-28Public Apache Tomcat /examples example directory8x8 · 2022-07-18