CVE-2018-25362 Twitter-Clone 1 SQL Injection via follow.php
Attackers can inject SQL code via the userid parameter in follow.php to extract sensitive database information such as usernames and passwords.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2018-25362?
CVE-2018-25362 is a high-severity SQL injection vulnerability in Fyffe PHP-Twitter-Clone, published on 25 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Twitter-Clone 1 contains a SQL injection vulnerability in follow.php that allows attackers to manipulate database queries by injecting SQL code through the userid parameter. Attackers can submit union-based or time-based blind SQL injection payloads to extract sensitive database information including usernames, passwords, and database credentials.
Weakness: CWE-89
Which versions are affected by CVE-2018-25362?
How do I fix CVE-2018-25362?
No fix has been published for CVE-2018-25362 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2018-25362 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-25362 exists.
Sources
Also known as GHSA-4wjh-3728-4qgm.