Path Transversal inside saveContracts.js
路径遍历 / Relative Path Traversal / #1196917
该报告还没有中文解读。
原文摘录
摘自原文(2460 字符中的一小部分)
Reference: https://portswigger.net/web-security/file-path-traversal
原文中的代码
function readFiles(dirname, onFileContent, onError) {
fs.readdir(dirname, function(err, filenames) {
if (err) {
onError("The build/contracts directory does not exist.\n\nMake sure the build directory exists before running this script.\n\nTo create build directory run `truffle deploy …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Sifchain 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @caon · 版权归作者与 Sifchain 所有