CVE-2018-25057 simple_php_link_shortener index.php sql injection
Attackers can exploit SQL injection in the link shortener to read or modify database contents, requiring a patch for mitigation.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2018-25057?
CVE-2018-25057 is a medium-severity SQL injection vulnerability in simple_php_link_shortener, published on 28 Dec 2022. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A vulnerability was found in simple_php_link_shortener. It has been classified as critical. Affected is an unknown function of the file index.php. The manipulation of the argument $link["id"] leads to sql injection. The name of the patch is b26ac6480761635ed94ccb0222ba6b732de6e53f. It is recommended to apply a patch to fix this issue. The identifier of this vulnerability is VDB-216996.
Weakness: CWE-89
Which versions are affected by CVE-2018-25057?
It affects 1 product.
Products include Mikebharris Simple Php Link Shortener.
How do I fix CVE-2018-25057?
No fix has been published for CVE-2018-25057 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-25057 being exploited?
There is no known exploitation of CVE-2018-25057 in the wild and no public exploit code.
Sources
Also known as GHSA-mqg4-h3vc-v42v.