Severity:

HIGH RISK

(7.3)

SQL Injection in Parameter Handler of Simple Laundry System

CVE-2026-5565

Deferred

Vulnerability type

Category:

SQL Injection

CWE:

CWE-74, CWE-89

Impact:

Data Exposure and Modification via SQL Injection

Severity:

HIGH RISK

(7.3)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

Simple Laundry System 1.0 contains a SQL injection vulnerability in the userid parameter handled by /delmemberinfo.php, allowing crafted input to alter backend database queries.

When an attacker can send malicious userid values remotely, they may access, modify, or delete application data through the vulnerable parameter handling logic.

Affected context

This vulnerability arises in the Simple Laundry System 1.0 web application within the Parameter Handler logic of /delmemberinfo.php.

It typically manifests when the userid request parameter is concatenated directly into SQL statements without sufficient validation or parameterization.

The issue is relevant in deployments where this endpoint is accessible over a network (e.g., internet or internal LAN) and where the application connects to a backend database with privileges to read or modify member information.

Exploit preconditions

  • Attack surface: HTTP(S) interface of the Simple Laundry System, specifically requests reaching /delmemberinfo.php.
  • Required access: Network access to the web application; no special privileges are implied by the description, although application-level authentication may be present in some deployments.
  • Trigger point: Supplying a crafted userid parameter value in a request that reaches the vulnerable script.
  • Why exploitation is possible: The userid parameter is incorporated into an SQL query without robust input handling (e.g., lack of prepared statements or proper escaping), enabling attacker-controlled query syntax.

Why this happens

The root cause maps primarily to CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection'), with aspects of CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component.

The application likely builds SQL queries by concatenating the userid parameter directly into the query string and sending it downstream to the database engine.

Because user-controlled input is not constrained to expected formats or bound as typed parameters, database meta-characters and control tokens can alter the intended query structure, allowing execution of unintended SQL operations.

Potential impact

  • Unauthorized reading of member records and related sensitive data
  • Modification or deletion of member information and associated records
  • Bypassing of application-level access controls enforced via database queries
  • Potential creation of new accounts or escalation of privileges within the application data model
  • Database integrity loss through bulk updates or destructive operations

General mitigation guidance

Mitigation focuses on treating all external parameters as untrusted and enforcing strict separation between data and SQL logic.

Common defensive patterns include:

  • Using parameterized queries or prepared statements for all database access paths, especially those involving request parameters like userid
  • Applying strict server-side validation on the userid parameter (e.g., numeric or UUID formats) before it reaches the data access layer
  • Centralizing database access in a data layer that enforces safe query construction patterns by default
  • Minimizing database privileges granted to the application account so that, even if a query is manipulated, its effects are constrained
  • Employing input normalization and encoding as a secondary safeguard, without relying on it as the primary defense

How teams detect issues like this

Detection can combine code-centric and behavior-centric approaches:

  • Static analysis rules that flag string-concatenated SQL queries involving request parameters such as $_GET, $_POST, or framework-specific input helpers
  • Manual code review focused on data access code in scripts like /delmemberinfo.php, looking for direct interpolation of userid into SQL statements
  • Application security tests (e.g., dynamic scanning) that attempt common SQL injection patterns on parameters controlling user identifiers
  • Logging and monitoring of database queries for unusual patterns, such as injected operators, comment sequences, or tautological conditions involving the userid field

Sources

SourceLink
code-projects.orgcode-projects.org/
github.comgithub.com/mzhnqwqz/cve/issues/1
vuldb.comvuldb.com/submit/782977
vuldb.comvuldb.com/vuln/355335
vuldb.comvuldb.com/vuln/355335/cti

Frequently asked

questions

Yes. The vulnerable /delmemberinfo.php endpoint is reachable over the network, and exploitation occurs by sending crafted HTTP requests with a malicious userid parameter.

The attacker needs network access to the web interface of the Simple Laundry System. Whether they must be authenticated depends on how the application protects /delmemberinfo.php; the underlying injection flaw exists regardless of authentication.

Refactor the affected code to use parameterized queries or prepared statements for all database operations involving userid, coupled with strict server-side validation that enforces expected formats and rejects any unexpected input before it reaches the database.

Adopt a development standard that forbids dynamic string concatenation for SQL, mandates the use of a vetted data access layer, and incorporates automated checks—such as static analysis and security-focused code review—to catch unsafe query construction patterns early in the development lifecycle.

Find out what's already
exploitable in your codebase.