CVE-2018-25204
Received Received - Intake
SQL Injection in Library CMS 1.0 Enables Authentication Bypass

Publication date: 2026-03-26

Last updated on: 2026-03-31

Assigner: VulnCheck

Description
Library CMS 1.0 contains an SQL injection vulnerability that allows unauthenticated attackers to bypass authentication by injecting SQL code through the username parameter. Attackers can send POST requests to the admin login endpoint with boolean-based blind SQL injection payloads in the username field to manipulate database queries and gain unauthorized access.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-03-26
Last Modified
2026-03-31
Generated
2026-05-27
AI Q&A
2026-03-26
EPSS Evaluated
2026-05-25
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
wecodex library_cms 1.0
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

CVE-2018-25204 is a high-severity SQL injection vulnerability in Library CMS version 1.0. It allows unauthenticated attackers to bypass authentication by injecting malicious SQL code into the username parameter of the admin login endpoint.

Attackers send specially crafted POST requests with boolean-based blind SQL injection payloads in the username field. This manipulates the underlying database queries, enabling them to gain unauthorized access to the system.

The root cause is improper neutralization of special elements used in SQL commands, which means the application fails to properly sanitize user input before using it in SQL queries.


How can this vulnerability impact me? :

This vulnerability can allow attackers to bypass authentication without any valid credentials, gaining unauthorized access to the admin area of the Library CMS.

Once inside, attackers may access sensitive data, manipulate database contents, or exploit further vulnerabilities within the system.

Because the attack requires no privileges or user interaction, it poses a significant security risk to affected systems.


How can this vulnerability be detected on my network or system? Can you suggest some commands?

This vulnerability can be detected by sending specially crafted POST requests to the admin login endpoint of Library CMS 1.0, specifically targeting the username parameter with boolean-based blind SQL injection payloads.

An example detection method involves using a payload that exploits the SQL injection via the username field to observe the system's response and confirm the vulnerability.

A sample command using curl to test the vulnerability could be:

  • curl -X POST -d 'username=admin") RLIKE (SELECT (CASE WHEN (5737=5737) THEN 0x61646d696e ELSE 0x28 END)) AND ("YAQS"="YAQS'&password=123456' http://target/demos/library/admin/index.php?action=processlogin

This command sends a POST request with a boolean-based blind SQL injection payload in the username parameter to the vulnerable login endpoint. Observing the response behavior can help determine if the system is vulnerable.


What immediate steps should I take to mitigate this vulnerability?

Immediate mitigation steps include restricting access to the admin login endpoint, applying input validation and sanitization on the username parameter to prevent SQL injection, and implementing web application firewalls (WAF) to detect and block malicious payloads.

Additionally, monitoring and logging suspicious login attempts can help identify exploitation attempts early.

Ultimately, updating or patching the Library CMS software to a version that fixes the SQL injection vulnerability is recommended once available.


How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:

The vulnerability allows unauthenticated attackers to bypass authentication and gain unauthorized access to the system by exploiting an SQL injection flaw in the admin login endpoint.

Such unauthorized access could lead to exposure or manipulation of sensitive data, which may impact compliance with data protection standards and regulations like GDPR or HIPAA that require protection of personal and sensitive information.

However, the provided information does not explicitly describe the direct impact on compliance with these standards or any specific regulatory consequences.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart