提出 #1058803: Zhengzhou Weiwei Information Technology Co., Ltd. (mymps.com.cn mayicms 5.8E(affected: <= 5.8E) SQL Injection情報

タイトルZhengzhou Weiwei Information Technology Co., Ltd. (mymps.com.cn mayicms 5.8E(affected: <= 5.8E) SQL Injection
説明Unauthenticated SQL injection in mayicms (mymps, 马蚁分类信息系统) 5.8E and earlier. Vulnerable endpoint: GET /box.php?part=member&userid=<payload> The parameter "userid" is taken from $_REQUEST and only passed through mhtmlspecialchars() (which escapes & " < > but NOT the single quote), then concatenated directly into: SELECT userpwd,if_corp,id FROM `<prefix>member` WHERE userid = '$userid' (box.php:36 -> include/box/member.php:6). box.php does not load global.php, so the global maddslashes filter does not apply to this entry point. No authentication is required. An attacker can extract the MySQL version, current database, DB user, and read arbitrary tables including member password hashes (userpwd) via error-based (UPDATEXML/EXTRACTVALUE) or UNION injection. NOT the same as CVE-2025-4514: that CVE affects the "value" parameter of /javascript.php. This issue is in a different file (box.php) with a different parameter (userid) on a separate code path (include/box/member.php), and is reachable without authentication. It is a distinct vulnerability. Not found in public CVE/CNVD records at time of submission. Root cause: mhtmlspecialchars() does not escape single quotes; box.php reads from $_REQUEST and does not load the global filter; SQL is built by string concatenation via mysql_query. Suggested fix: apply addslashes()/prepared statements to userid, force intval() where numeric, load global.php consistently, disable SQL error output on production pages (halt()).
ユーザー hungry0n0 (UID 102525)
送信2026年10月27日 03:19 (29 日 ago)
モデレーション2026年11月25日 07:58 (29 days later)
ステータス承諾済み
VulDBエントリ443653 [Zhengzhou Weiwei Information Technology mayicms 迄 5.8E /box.php?part=member userid SQLインジェクション]
ポイント17

Want to stay up to date on a daily basis?

Enable the mail alert feature now!