CVE-2018-5978: SQL Injection in Zechat 1.5 login.php User Field
- Vendor
- Zechat Project
Zechat 1.5, a PHP/Ajax-based chat application, is vulnerable to SQL Injection via the 'User' field in login.php. Unsanitized user input is directly incorporated into SQL queries, allowing attackers to manipulate the database query logic.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
An attacker can exploit this vulnerability to execute arbitrary SQL commands against the application's database. This may result in authentication bypass, data exfiltration, modification or deletion of data, and potentially full compromise of the application and underlying server.
Mitigation
If you can’t patch tonight, do this now.
If immediate patching is not possible, implement web application firewall (WAF) rules to block SQL injection attempts, and restrict database user privileges to minimize impact. Monitor logs for suspicious login activity.
Remediation
Patch, then assume compromise.
Update Zechat to a version where user input is properly sanitized and parameterized queries are used in login.php. Apply input validation and use prepared statements for all database interactions.
Exploits
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2018-5978 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2018-5978 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2018-5978?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2018-5978.
- Is there a patch for CVE-2018-5978?
- Update Zechat to a version where user input is properly sanitized and parameterized queries are used in login.php. Apply input validation and use prepared statements for all database interactions.
- What products are affected by CVE-2018-5978?
- Zechat Project Zechat.
- How severe is CVE-2018-5978?
- CVE-2018-5978 has a CVSS v3 score of 9.8 (Critical) and an EPSS score of 2.7% (86th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.