Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach web application over network
-
DeliverySend crafted 'Name' parameter to save_user
-
ExploitInject SQL via Account Creation
-
ExecutionManipulate backend database query
-
ImpactExfiltrate or alter user/account data
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 | No special conditions beyond network reachability - the input CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) indicates a remote, unauthenticated attacker can reach the Account Creation feature of SourceCodester Art Gallery Management System 1.0 and inject SQL through the 'Name' argument processed by Action::save_user in admin/admin_class.php, with no authentication or user interaction required. The primary limiting factors are deployment-related rather than technical: the attacker must have network access to an exposed instance of this niche application, and exploitation targets the specific account-creation code path, so installations that restrict access to the admin endpoint or run patched/modified code are less exposed. |
| Impact | Signals are mixed and point to a moderate, opportunistic risk rather than an emergency. The input CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) with score 6.9 describes a remote, low-complexity, unauthenticated SQL injection, and a public exploit exists (VulDB-sourced, with a dedicated TraceXLabs 'pre-auth admin' release), so weaponization effort is already low. However, this is NOT in CISA KEV (no confirmed active exploitation) and no EPSS score was provided, so widespread automated exploitation cannot be asserted. The input CVSS 4.0 exploit maturity is E:P (Proof-of-Concept), which is consistent with 'POC available' but explicitly NOT 'attacked/in-the-wild'. The vulnerable-system impacts are only Low across confidentiality, integrity and availability (VC:L/VI:L/VA:L), which caps the raw severity; yet the exploit's naming ('preauth-admin') suggests the practical outcome may be unauthorized administrative account creation, which would be more serious than the Low impact metrics imply - this discrepancy should be verified against the actual POC. The dominant risk mitigant is product footprint: SourceCodester Art Gallery Management System is a small educational/hobby PHP application, so real-world exposure is minimal. Net: a genuinely exploitable pre-auth SQLi with public POC, but low deployment prevalence and no KEV listing make it a low-to-moderate operational priority for most organizations. |
| Exploit ScenarioDerived | A remote, unauthenticated attacker submits a crafted value in the 'Name' parameter to the account-creation handler (Action::save_user in admin/admin_class.php), injecting SQL that the backend executes. A public proof-of-concept exists (TraceXLabs 'art-gallery-preauth-admin' release), lowering the skill required; given AV:N/AC:L/PR:N the attacker needs only network reachability to the application and no credentials. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 13, 2026
Unauthenticated SQL injection in SourceCodester Art Gallery Management System 1.0 lets a remote attacker inject arbitrary SQL through the 'Name' argument handled by Action::save_user in admin/admin_class.php during account creation, allowing manipulation of the underlying database. The vulnerable code path is reachable without credentials or user interaction (CVSS 4.0 vector AV:N/AC:L/AT:N/PR:N/UI:N), and publicly available exploit code exists, including a pre-authentication admin-creation proof of concept, though this CVE is not listed in CISA KEV so active exploitation is not confirmed. Impact is rated low across confidentiality, integrity and availability (CVSS 6.9 base, assessed CVSS 3.1 6.9-equivalent), making this a moderate, opportunistic risk concentrated on internet-exposed instances of this niche PHP application.
RemediationAI
No vendor-released patch or fixed version is identified in the available data - the CPE remains a wildcard and neither the SourceCodester vendor page nor the VulDB references list a corrective release - so remediation must be code-level or compensating. The durable fix is to rewrite Action::save_user in admin/admin_class.php to use parameterized/prepared statements (PDO or mysqli with bound parameters) and to validate the 'Name' input against a strict allowlist or length/character whitelist before it reaches any query; because the product ships as source, this must be applied by the site owner or integrator. Until code is fixed, the most effective compensating control is to stop exposing the account-creation code path: block or remove public access to the admin directory (admin/admin_class.php and its calling endpoint) at the web server or reverse proxy, restricting it to trusted management IPs or a VPN - the trade-off is that remote legitimate user registration through that flow stops working. Layer on authentication in front of the admin endpoint (HTTP basic auth or an SSO gateway) so the 'pre-auth' exploit path is no longer reachable, and deploy WAF rules tuned to SQL metacharacters (' , --, UNION, boolean patterns) on the 'Name' parameter and other admin form fields, recognizing that WAF signatures are bypassable and only buy time. If account creation is not needed on a public instance, disable that feature outright; if it is required, isolate the database account used by the application to the minimum privileges needed (SELECT/INSERT on the application schema only, no FILE, DROP, or cross-schema rights) to limit what a successful injection can reach. Consult the VulDB advisory and the TraceXLabs proof-of-concept write-up (https://tracexlabs.com/releases/art-gallery-preauth-admin.html) to confirm the exact request shape being blocked, and continue monitoring the vendor site for an official update.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected component is a PHP web application - SourceCodester's Art Gallery Management System 1.0 - identified by the CPE cpe:2.3:a:sourcecodester:art_gallery_management_system (version wildcard, i.e. the vendor has not scoped a fixed release). The root cause is CWE-89, improper neutralization of special elements used in an SQL command: the account-creation routine Action::save_user in admin/admin_class.php takes the user-supplied 'Name' value and concatenates it into a database statement without parameterization or escaping, so crafted input alters query structure. Because PHP's traditional database extensions execute one statement per call, the practical outcome is typically data disclosure from the users table or an INSERT-based manipulation of account records rather than a stacked multi-statement execution. The referenced exploit path (a 'pre-auth admin' proof of concept) indicates the account-creation endpoint can be driven before authentication is established, which is consistent with the PR:N rating in both the supplied CVSS 4.0 vector and the assessed CVSS 3.1 vector; the technical prerequisite is simply network reachability of the admin account-creation endpoint.
Know when Art Gallery Management System 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Remote unauthenticated SQLi reachable without interaction gives AV:N/AC:L/PR:N/UI:N; database access yields limited but real C/I/A impact, so Low across the board with no scope change.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A vulnerability was detected in SourceCodester Art Gallery Management System 1.0. This impacts the function Action::save_user of the file admin/admin_class.php of the component Account Creation. The manipulation of the argument Name results in sql injection. The attack may be performed from remote. The exploit is now public and may be used.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Art Gallery Management System v1.0 contains a SQL injection vulnerability via the cid parameter at /agms/product.php. Ra
Art Gallery Management System v1.0 was discovered to contain a SQL injection vulnerability via the viewid parameter on t
Art Gallery Management System Project in PHP 1.0 was discovered to contain a SQL injection vulnerability via the pid par
Art Gallery Management System Project in PHP 1.0 was discovered to contain a SQL injection vulnerability via the usernam
Art Gallery Management System Project v1.0 was discovered to contain a SQL injection vulnerability via the editid parame
Art Gallery Management System Project v1.0 was discovered to contain a SQL injection vulnerability via the cid parameter
A vulnerability was found in PHPGurukul Art Gallery Management System 1.1. Rated medium severity (CVSS 6.9), this vulner
A vulnerability was found in PHPGurukul Art Gallery Management System 1.1. Rated medium severity (CVSS 6.9), this vulner
A vulnerability was found in PHPGurukul Art Gallery Management System 1.1. Rated medium severity (CVSS 6.9), this vulner
A vulnerability was found in PHPGurukul Art Gallery Management System 1.0. Rated medium severity (CVSS 6.9), this vulner
A vulnerability was found in PHPGurukul Art Gallery Management System 1.0. Rated medium severity (CVSS 6.9), this vulner
A vulnerability was found in PHPGurukul Art Gallery Management System 1.0. Rated medium severity (CVSS 6.9), this vulner
EUVD-2026-98840
GHSA-wrjf-wmfw-r5xv
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB