ARG_CLEAR credential scrubbing wipes only UTF-8 copies on Windows Unicode builds
该报告还没有中文解读。
原文摘录
摘自原文(2071 字符中的一小部分)
`cleanarg()` operates on `char *str`, which is the UTF-8 copy allocated by `convert_tchar_to_UTF8()`. It has no reference to the original `wchar_t argv[]` element.
原文中的代码
/* tool_getparam.c:632 */
static void cleanarg(char *str)
{
/* now that getstr has copied the contents of nextarg, wipe the next
* argument out so that the username:password is not displayed in the
* system process list */
if(str) {
size_t len = strlen(str);
memset(str, '*', len); …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 curl 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @giant_anteater · 版权归作者与 curl 所有