API token sent to URL dictated by an untrusted project .weblate file
该报告还没有中文解读。
原文摘录
摘自原文(4511 字符中的一小部分)
`wlc` discovers project configuration by walking the current working directory and **every parent directory** for `.weblate` / `.weblate.ini` / `weblate.ini` (`WeblateConfig.find_project_config`). That file sets the API `url`. The API key, however, is resolved independently and is **not bound to a …
原文中的代码
# wlc/config.py:67-94 @ 7c01e2f
@staticmethod
def find_project_config() -> str | None:
"""Find the nearest project configuration file."""
cwd = os.path.abspath(".")
prev = None
while cwd != prev: # walk CWD and every ancestor
for name in (".weblate", …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Weblate 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @type5afe · 版权归作者与 Weblate 所有