Soumettre #1058803: Zhengzhou Weiwei Information Technology Co., Ltd. (mymps.com.cn mayicms 5.8E(affected: <= 5.8E) SQL Injectioninformation

TitreZhengzhou Weiwei Information Technology Co., Ltd. (mymps.com.cn mayicms 5.8E(affected: <= 5.8E) SQL Injection
DescriptionUnauthenticated 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()).
Utilisateur hungry0n0 (UID 102525)
Soumission27/10/2026 03:19 (il y a 29 jours)
Modérer25/11/2026 07:58 (29 days later)
StatutAccepté
Entrée VulDB443653 [Zhengzhou Weiwei Information Technology mayicms jusqu’à 5.8E /box.php?part=member userid injection SQL]
Points17

Want to stay up to date on a daily basis?

Enable the mail alert feature now!