Skip to main content

Nabz Image Gallery CVE-2024-55981

CRITICAL
SQL Injection (CWE-89)
2024-12-16 audit@patchstack.com
9.3
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Identify WordPress site running Nabz Image Gallery
  2. Delivery
    Craft SQL injection payload in plugin parameter
  3. Exploit
    Send unauthenticated HTTP request to vulnerable endpoint
  4. Install
    Database executes attacker-controlled query
  5. C2
    Exfiltrate users, hashes, and secrets from wp database
  6. Execute
    Crack admin credentials offline
  7. Impact
    Authenticate and pivot to full site takeover

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires only that the target WordPress site has the Nabz Image Gallery plugin installed and activated at any version through v1.00, with the vulnerable plugin endpoint reachable over HTTP/HTTPS by the attacker - per the CVSS vector AV:N/AC:L/PR:N/UI:N there is no authentication, no user interaction, and no special configuration required beyond default plugin deployment. Limiting factors are therefore narrow and reduce to plugin presence and network reachability of the WordPress front-end; sites that do not run this specific plugin are not affected, and sites that restrict the plugin's endpoints behind authentication, IP allow-lists, or a SQLi-aware WAF will see significantly reduced exposure. The CVE description does not name the specific vulnerable parameter or endpoint, so defenders attempting precise virtual-patching will need to consult the Patchstack advisory or perform code review of the plugin to identify the exact injection point.

Impact

The CVSS:3.1 vector AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L describes a network-reachable, low-complexity, unauthenticated, no-user-interaction attack with high confidentiality impact, no integrity impact, and low availability impact, with a changed scope - consistent with an unauthenticated SQLi that can read sensitive data across the WordPress trust boundary. The EPSS score of 20.15% at the 95th percentile signals meaningfully elevated exploitation likelihood relative to the broader CVE population, reinforcing the CVSS severity. The vulnerability is NOT currently listed in CISA KEV and there is no public exploit identified at time of analysis, so this is best treated as a high-priority pre-emptive patching target rather than a confirmed in-the-wild incident. One inconsistency worth flagging: the CVSS vector reports I:N (no integrity impact) even though SQL injection typically also enables INSERT/UPDATE/DELETE - this likely reflects the Patchstack analyst's assessment that only a read-only injection path was confirmed, but defenders should not assume integrity is safe without code-level verification.

Exploit ScenarioDerived

An unauthenticated remote attacker scans WordPress sites for the Nabz Image Gallery plugin fingerprint, then issues a crafted HTTP request to a vulnerable plugin endpoint with a SQL injection payload (for example, a UNION-based query in a parameter that the plugin uses to look up gallery images). The injected query extracts the wp_users table, yielding administrator usernames, email addresses, and bcrypt password hashes for offline cracking, which can then be used to fully take over the site. The low attack complexity and unauthenticated network vector mean this scenario is fully automatable across the WordPress install base once an exploit becomes public.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 20.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAI

SQL injection in Nabajit Roy's Nabz Image Gallery WordPress plugin (versions up to and including v1.00) allows remote unauthenticated attackers to inject arbitrary SQL into backend database queries. The flaw carries a critical CVSS 9.3 score with a scope-changed impact and an elevated EPSS exploitation probability of 20.15% (95th percentile), indicating notable likelihood of exploitation attempts, though no public exploit identified at time of analysis and not listed in CISA KEV.

RemediationAI

No vendor-released patch identified at time of analysis - the advisory range is open-ended through v1.00 with no fixed version cited. Administrators should immediately deactivate and remove the Nabz Image Gallery plugin from any WordPress installation until the maintainer ships a fixed release, monitor the Patchstack advisory page and the plugin's WordPress.org listing for an update, and check the Patchstack database (https://patchstack.com/database/) for a vulnerability-specific entry with mitigation guidance. As compensating controls while the plugin remains installed, deploy a WordPress-aware WAF rule (e.g., Patchstack vPatch, Wordfence, or generic ModSecurity OWASP CRS SQLi rules) to filter SQL metacharacters on requests targeting the plugin's endpoints, restrict access to the plugin's PHP files via .htaccess or nginx location blocks to known administrator IPs, and audit recent web/database logs for UNION, SLEEP, or BENCHMARK patterns indicating prior exploitation attempts - note that WAF filtering can produce false positives on legitimate gallery queries containing apostrophes in image titles or captions, and IP allow-listing will break public-facing gallery functionality.

Affected ProductsAI

The affected product is the Nabz Image Gallery WordPress plugin by Nabajit Roy (vendor identifier 'nabz-image-gallery'), with all versions from initial release through and including v1.00 affected per the Patchstack advisory. No CPE was provided in the input data, and the upper bound 'n/a through <= v1.00' indicates no fixed version had been published at the time the advisory was issued. The reporting and authoritative source is Patchstack (audit@patchstack.com), whose advisory database is the canonical reference for this issue.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability falls under CWE-89 (Improper Neutralization of Special Elements used in an SQL Command), the canonical SQL injection weakness class, in which untrusted input is concatenated into SQL statements without proper parameterization or escaping. The affected component is the Nabz Image Gallery WordPress plugin maintained by Nabajit Roy, which adds image gallery functionality to WordPress sites and interacts with the WordPress MySQL/MariaDB database via wpdb. Because the issue lies in user-supplied input being passed to a SQL query handler in the plugin, an attacker can manipulate query logic to read or alter database contents within the constraints of the database user's privileges (typically the WordPress DB account, which has broad read/write access to the WordPress schema).

Know when Wordpress Plugin gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 9.3 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
Low

Lifecycle Timeline

2
CVSS changed
Apr 23, 2026 - 15:42 NVD
9.3 (CRITICAL)
CVE Published
Dec 16, 2024 - 15:15 nvd
N/A

DescriptionCVE.org

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Nabajit Roy Nabz Image Gallery nabz-image-gallery allows SQL Injection.This issue affects Nabz Image Gallery: from n/a through <= v1.00.

Executive ViewAI

Why It Matters

The Nabz Image Gallery WordPress plugin (versions ≤1.00) contains a critical SQL injection vulnerability enabling unauthenticated remote attackers to execute arbitrary database commands on affected WordPress installations. Any organization running this plugin faces immediate risk of data exfiltration and database compromise, with no vendor patch currently available to remediate the issue.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Immediately disable/remove the vulnerable plugin; (2) Deploy WAF rules to block SQL injection payloads; (3) Enable comprehensive database query logging and real-time alerting on abnormal queries; (4) Restrict database user privileges to least-privilege principle; (5) Implement database access monitoring with focus on unexpected SELECT statements from web application accounts; (6) If plugin removal is not feasible, disable public access to affected functionality via .htaccess or server-level rules.

Threat Intelligence Overview

EPSS Score
20.1%
Top 5% exploitable
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 20.1%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

66
Low Medium High Critical
KEV: 0
EPSS: +20
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-44000 CRITICAL POC
9.8 Oct 20

Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-11749 CRITICAL POC
9.8 Nov 05

The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint

CVE-2025-27007 CRITICAL POC
9.8 May 01

The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2024-1698 CRITICAL POC
9.8 Feb 27

SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a

CVE-2023-6875 CRITICAL POC
9.8 Jan 11

The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i

CVE-2024-1512 CRITICAL POC
9.8 Feb 17

The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base

CVE-2024-4295 CRITICAL POC
9.8 Jun 05

The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy