إرسال #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)
ارسال27/10/2026 03:19 AM (29 أيام منذ)
الاعتدال25/11/2026 07:58 AM (29 days later)
الحالةتمت الموافقة
إدخال VulDB443653 [Zhengzhou Weiwei Information Technology mayicms حتى 5.8E /box.php?part=member userid حقن SQL]
النقاط17

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!