# CVE-2020-20300: WeiPHP 5.0 - SQLi

> Live exploitation tracking for CVE-2020-20300 by the CrowdSec Live Exploit Tracker, built from real-world attack data crowdsourced from CrowdSec's global network.

Page: https://tracker.crowdsec.net/cves/CVE-2020-20300

## Key facts

- **Exploitation phase:** Limited Exploitation. The vulnerability is known but shows very limited attacker interest or exploitation activity.
- **CVSS score:** 9.8
- **Public exploit available:** Yes
- **Affected products:** WeiPHP
- **Weaknesses:** CWE-89 (Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection'))
- **Tags:** web_application

## Description

SQL injection vulnerability in the wp_where function in WeiPHP 5.0.

## CrowdSec analysis

[CVE-2020-20300](https://euvd.enisa.europa.eu/vulnerability/CVE-2020-20300) is a critical SQL injection vulnerability affecting WeiPHP, specifically within the database query handling logic. This flaw allows remote attackers to manipulate SQL queries and potentially achieve remote code execution or exfiltrate sensitive data by crafting malicious input to certain parameters.

CrowdSec has been tracking this vulnerability and its exploits since 9th of October 2024.

CrowdSec network observations suggest that most exploitation of CVE-2020-20300 involves focused reconnaissance to identify viable targets. Attackers typically tailor their campaigns based on system exposure and configuration. It is unlikely that a given attack is accidental.
Telemetry from the CrowdSec network also shows that exploitation activity for CVE-2020-20300 remains steady week-over-week. Attack volumes are consistent with long-term trends, indicating sustained interest from threat actors. CVE-2020-20300 continues to be an active part of the threat landscape and will likely remain this way for the forseeable future.

Attack attempts are typically directed at URLs containing `/public/index.php/home/index/bind_follow`.

## Timeline

- 2020-12-18: CVE Published. CVE-2020-20300 is published to NVD.
- 2024-10-09: Rule Released. CrowdSec releases a rule to detect CVE-2020-20300 exploitation attempts against the CrowdSec Network.
- 2024-11-24: CrowdSec First Seen. CrowdSec observes in-the-wild exploitation of CVE-2020-20300 for the first time.

## References

- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2020/CVE-2020-20300.yaml

## Live exploitation data

The [Live Exploit Tracker page](https://tracker.crowdsec.net/cves/CVE-2020-20300) follows observed exploitation activity for CVE-2020-20300. [Request an API key](https://tracker.crowdsec.net/request-api-key) for full access to its exploitation timeline, attacking IP addresses and blocklists.
