POJIA破甲
地图 / Unchecked weapon id in WeaponList message parser on client leads to RCE

Unchecked weapon id in WeaponList message parser on client leads to RCE

内存破坏 / Array Index Underflow / #513154

厂商
Valve
严重程度
高危 · CVSS 9.8
赏金
$3,000
弱点
Array Index Underflow
研究员
@nyancat0131
披露日期
2019-09-17
资产
hl.exe
CVE
—

该报告还没有中文解读。

原文摘录

摘自原文(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 所有

同类报告

Subdomain Takeover Via Insecure CloudFront Distribution cdn.grab.comGrab · 2021-02-24 · $1,000V1Plugin.Decrypt panics on empty ciphertext (Remote DoS)AWS VDP · 2026-05-28Signedness issue in ClassInfo message handler leads to RCE on CS:GO clientValve · 2021-05-27 · $7,500HackerOnecurl · 2025-11-03V2Plugin.Decrypt panics on empty ciphertext (Remote DoS)AWS VDP · 2026-05-28i am The bugGratipay · 2017-10-31