Remote Command Execution vulnerability in pullit
该报告还没有中文解读。
原文摘录
摘自原文(2914 字符中的一小部分)
I would like to report Remote Command Execution vulnerability in pullit It allows remote command execution such as reading or writing to the file system, and executing other programs under the current user running the pullit node executable.
原文中的代码
diff --git a/src/index.js b/src/index.js
index 3a34831..9bffd0d 100644
--- a/src/index.js
+++ b/src/index.js
@@ -1,7 +1,7 @@
const GitHubApi = require('github');
const Menu = require('terminal-menu');
const {
- execSync
+ execFileSync
} = require('child_process');
const parse = …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Node.js third-party modules 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @lirantal · 版权归作者与 Node.js third-party modules 所有