Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed residents.php endpoint
-
ExploitSend HTTP request with SQL payload in Search parameter
-
ExecutionInject malicious SQL clause into backend query
-
ImpactExtract or manipulate resident database records
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 authentication is required - the CVSS 4.0 vector specifies PR:N and UI:N, confirming the Resident Search endpoint is exposed to unauthenticated HTTP requests. The only prerequisite is network reachability to the residents.php script. The vulnerable parameter is the Search field in the Resident Search Functionality; exploitation is not contingent on any non-default configuration. Exploitation is constrained by the following real-world factors: the application must be deployed and reachable over the network (many instances may be localhost or LAN-only); the product is PHP-based and likely runs on a shared hosting or simple LAMP stack with a MySQL backend; and the deployment population is geographically limited to Philippine municipal government offices. There is no requirement for a specific PHP version, database privilege level beyond SELECT, or operating system. |
| Impact | The CVSS 4.0 score of 6.9 reflects partial (L) impact across confidentiality, integrity, and availability with no subsequent-system impact (SC/SI/SA:N), consistent with a contained database-layer injection. The E:P supplemental metric confirms a publicly available proof-of-concept, which materially elevates exploitation likelihood beyond what the base score implies. No CISA KEV listing is present, indicating no confirmed widespread active exploitation at time of analysis. EPSS data was not provided in the input - exploitation probability cannot be independently quantified here. The primary risk-dampening factor is prevalence: this is a niche academic/civic PHP application used in Philippine barangay (local government unit) administrations, with a tiny and geographically concentrated deployment footprint. Technically the vulnerability is trivial to exploit (AC:L, PR:N, no interaction), but the realistic pool of exposed instances is very small. Organizations running this specific system should treat it as high priority given the POC availability; the broader security community's prioritization should remain low. |
| Exploit ScenarioDerived | An unauthenticated attacker sends a crafted HTTP GET or POST request to the publicly accessible residents.php endpoint, injecting a SQL payload into the Search parameter (e.g., appending ' OR 1=1-- to enumerate all residents). Using the publicly disclosed POC on GitHub, the attacker extracts resident personal data from the database - names, addresses, identification numbers - or modifies records without any prior authentication or user interaction required. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 23, 2026
SQL injection in code-projects Barangay Resident Profiling Management System 1.0 allows unauthenticated remote attackers to manipulate database queries via the Search argument in residents.php. The Resident Search Functionality fails to sanitize user-supplied input before constructing SQL statements, enabling read, write, or denial-of-service impact against the underlying database. A public proof-of-concept exploit is available on GitHub, lowering the bar for opportunistic exploitation; however, the product's extremely limited real-world deployment significantly constrains actual attack surface.
RemediationAI
No vendor-released patch has been identified at time of analysis. The primary remediation is to replace dynamic SQL string concatenation in residents.php with parameterized queries or prepared statements using PHP PDO or MySQLi, which eliminates the injection surface entirely. As a compensating control, deployers should apply strict server-side input validation to reject or strip SQL metacharacters (single quotes, dashes, semicolons) from the Search parameter - note this is defense-in-depth and not a substitute for parameterized queries, as bypass techniques exist. Additionally, restricting network access to the application to internal or VPN-only networks via firewall rules eliminates the network-exposed attack vector entirely, which is the most immediately actionable mitigation. If the system is externally accessible, consider taking it offline until a code fix is applied. The public exploit is available at https://gist.github.com/c4ttr4ck/504e89cacf12c7d6a87490f3859dfded and should be reviewed to understand exact payload patterns for detection rule development.
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 product is a PHP-based municipal records management application published by code-projects.org, identified by CPE cpe:2.3:a:code-projects:barangay_resident_profiling_management_system:*:*:*:*:*:*:*:*. The vulnerability class is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command). The residents.php script accepts a Search parameter from the HTTP request and concatenates it directly - or with insufficient escaping - into an SQL query executed against the backend database. This classic pattern allows an attacker to inject arbitrary SQL clauses, modifying query logic to enumerate tables, extract records, alter data, or in some MySQL configurations invoke file operations. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) confirms no special attack preconditions beyond network reachability.
Know when Barangay Resident Profiling 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
Network-reachable with no auth or interaction; partial C/I/A reflects database read/write access without full system compromise or scope change.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A vulnerability was determined in code-projects Barangay Resident Profiling Management System 1.0. Affected is an unknown function of the file residents.php of the component Resident Search Functionality. This manipulation of the argument Search causes sql injection. Remote exploitation of the attack is possible. The exploit has been publicly disclosed and may be utilized.
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.
Authorization bypass via Insecure Direct Object Reference (IDOR) in the Boarder Management Module of code-projects Baran
Authorization bypass in code-projects Barangay Resident Profiling Management System 1.0 exposes the /archived_records.ph
EUVD-2026-64668
GHSA-j2q4-7rfp-8wrq
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB