Unchecked weapon id in WeaponList message parser on client leads to RCE
内存破坏 / Array Index Underflow / #513154
该报告还没有中文解读。
原文摘录
摘自原文(1820 字符中的一小部分)
Let's look at WeaponList message parser code in the HLSDK:
原文中的代码
int CHudAmmo::MsgFunc_WeaponList(const char *pszName, int iSize, void *pbuf )
{
BEGIN_READ( pbuf, iSize );
WEAPON Weapon;
strcpy( Weapon.szName, READ_STRING() );
Weapon.iAmmoType = (int)READ_CHAR();
Weapon.iMax1 = READ_BYTE();
if (Weapon.iMax1 == 255)
Weapon.iMax1 = -1; …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Valve 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @nyancat0131 · 版权归作者与 Valve 所有