CVE-2018-25382
Deferred Deferred - Pending Action
Zechat 1.5 SQL Injection Vulnerability

Publication date: 2026-05-29

Last updated on: 2026-05-29

Assigner: VulnCheck

Description
Zechat 1.5 contains an SQL injection vulnerability that allows unauthenticated attackers to extract database information by injecting SQL code through the uname parameter. Attackers can send crafted requests to profile.php with UNION-based SQL injection payloads to retrieve table names, column names, and sensitive data from the information_schema database.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-05-29
Last Modified
2026-05-29
Generated
2026-05-29
AI Q&A
2026-05-29
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
zechats zechats 1.5
zechat zechat to 1.5 (inc)
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-25382 is a high-severity SQL injection vulnerability found in Zechat version 1.5. It occurs because the 'uname' parameter in the profile.php file does not properly validate input, allowing unauthenticated attackers to inject malicious SQL code.

Attackers can exploit this flaw by sending specially crafted requests containing UNION-based SQL injection payloads. This enables them to extract sensitive information such as table names, column names, and data from the database's information_schema.


How can this vulnerability impact me? :

This vulnerability can lead to unauthorized access to sensitive database information without requiring any authentication.

  • Attackers can retrieve database schema details including table and column names.
  • Sensitive data stored in the database can be exposed.
  • Potentially, attackers could manipulate or extract confidential information, leading to data breaches.

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

This vulnerability can be detected by sending crafted HTTP requests to the profile.php file targeting the 'uname' parameter with UNION-based SQL injection payloads. Monitoring for unusual or suspicious requests containing SQL injection patterns in the 'uname' parameter is key.

A practical approach is to use tools like curl or wget to manually test the vulnerability by injecting SQL payloads into the 'uname' parameter and observing the response for database information leakage.

  • Example command using curl to test for SQL injection: curl "http://targetsite/profile.php?uname=' UNION SELECT NULL,NULL,NULL-- "
  • Use web vulnerability scanners that support SQL injection detection targeting the 'uname' parameter on profile.php.

What immediate steps should I take to mitigate this vulnerability?

Immediate mitigation steps include applying input validation and sanitization on the 'uname' parameter to prevent SQL injection.

If a patch or updated version of Zechat is available, upgrade to the fixed version to eliminate the vulnerability.

As a temporary measure, restrict access to profile.php or implement Web Application Firewall (WAF) rules to block malicious SQL injection payloads targeting the 'uname' parameter.

  • Validate and sanitize all user inputs on the server side.
  • Apply patches or upgrade Zechat to a non-vulnerable version.
  • Use WAF or intrusion detection systems to block or alert on suspicious SQL injection attempts.

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