CVE-2010-5041 in Np Gallery Plugininfo

Summary

by MITRE

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.

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Analysis

by VulDB Data Team • 10/17/2025

The CVE-2010-5041 vulnerability represents a critical SQL injection flaw within the NP_Gallery plugin version 0.94 for the Nucleus content management system. This vulnerability exists in the index.php file and specifically targets the plugin action mechanism where user input is not properly sanitized before being incorporated into database queries. The vulnerability is particularly dangerous because it allows remote attackers to execute arbitrary SQL commands directly against the underlying database, potentially leading to complete system compromise.

The technical exploitation of this vulnerability occurs through the id parameter within the plugin action functionality. When a malicious user submits a specially crafted id parameter value, the NP_Gallery plugin fails to implement proper input validation or parameterized queries. This allows attackers to inject malicious SQL code that gets executed in the context of the database user account. The vulnerability is classified as a classic SQL injection attack that falls under CWE-89, which specifically addresses improper neutralization of special elements used in SQL commands. The flaw demonstrates poor input handling practices where user-supplied data flows directly into database queries without adequate sanitization or escaping mechanisms.

The operational impact of this vulnerability is severe and multifaceted. Remote attackers can leverage this weakness to extract sensitive data from the database, including user credentials, content, and system information. Beyond data exfiltration, attackers can modify or delete database records, potentially corrupting the entire website. In some cases, successful exploitation may allow attackers to escalate privileges and gain shell access to the underlying server. The vulnerability is particularly concerning for web applications that rely on Nucleus CMS as it provides a direct pathway for attackers to compromise the entire content management infrastructure. The attack surface is broad as any user who can access the plugin functionality can potentially exploit this vulnerability.

Mitigation strategies for CVE-2010-5041 should prioritize immediate patching of the NP_Gallery plugin to version 0.95 or later, which contains the necessary security fixes. Organizations should implement proper input validation and parameterized queries throughout their applications to prevent similar vulnerabilities from occurring. The principle of least privilege should be enforced by ensuring database accounts used by web applications have minimal required permissions. Additionally, web application firewalls and intrusion detection systems should be configured to monitor for SQL injection patterns and block suspicious requests. This vulnerability aligns with ATT&CK technique T1190, which describes exploitation of vulnerabilities in web applications, and demonstrates the importance of maintaining up-to-date software components as part of a comprehensive security posture. Regular security audits and code reviews should be conducted to identify and remediate similar input validation weaknesses across all application components.

Reservation

11/02/2011

Disclosure

11/02/2011

Moderation

accepted

Entry

VDB-59354

CPE

ready

Exploit

Download

EPSS

0.01223

KEV

no

Activities

very low

Sources

Do you know our Splunk app?

Download it now for free!