제출 #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. AM 03:19 (29 날 ago)
모더레이션2026. 11. 25. AM 07:58 (29 days later)
상태수락
VulDB 항목443653 [Zhengzhou Weiwei Information Technology mayicms 까지 5.8E /box.php?part=member userid SQL 주입]
포인트들17

Might our Artificial Intelligence support you?

Check our Alexa App!