S4E just found a high-severity finding from top 10 tcp port service scan
PlatformPlansPartners
Resources
ToolsBlogDocs
Sign Up →
critical·Product Based Web Vulnerabilities·Updated Feb 8, 2024

CVE-2020-20300 Scanner

Targets the wp_where function in WeiPHP 5.0, allowing attackers to inject arbitrary SQL queries and extract database contents.

Est. Time~10 seconds
Scan TypeSingle Scan
Targetsurl
CostFree
3k
Times Used
continuous scan runs
4.7k
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
CVECVE-2020-20300
9.8
CVSS

SQL injection vulnerability in the wp_where function in WeiPHP 5.0.

Attack Vector
-
Privileges Req.
-
User Interaction
-
Affected
n/aby n/a
n/a
Updated Aug 21, 2026View on NVD →
Detail

WeiPHP is a popular open-source content management system (CMS) designed for building business websites, e-commerce platforms, and blogs. It offers a user-friendly interface and extensive customization options, making it a preferred choice for developers and organizations seeking to manage online content efficiently. Its modular architecture supports various plugins and themes, enhancing functionality and user experience.

CVE-2020-20300 is a critical SQL injection vulnerability discovered in WeiPHP version 5.0. This flaw arises from insufficient sanitization of user-supplied input within the wp_where function, which is used to construct SQL queries dynamically. Attackers can exploit this by injecting malicious SQL code through parameters passed to this function, bypassing authentication and authorization controls.

The vulnerability specifically affects the wp_where function, which is commonly invoked in database query building processes. By manipulating input parameters such as those in search or filter operations, an attacker can execute arbitrary SQL commands. This allows them to retrieve, modify, or delete data from the underlying MySQL database without proper privileges.

Successful exploitation of CVE-2020-20300 can lead to severe consequences, including unauthorized access to sensitive user data, such as passwords, personal information, and financial records. Attackers may also escalate privileges, compromise the entire application, or use the database as a pivot point for further attacks. The high CVSS score of 9.8 underscores the critical nature of this vulnerability.

Solution Advice
  • Update WeiPHP to the latest patched version immediately to close the SQL injection vector.
  • Implement parameterized queries or prepared statements in all database interactions, especially in the wp_where function.
  • Apply strict input validation and sanitization for all user-supplied data, rejecting unexpected characters or patterns.
  • Deploy a web application firewall (WAF) to filter malicious SQL injection payloads before they reach the application.
  • Conduct regular security audits and penetration tests to identify and remediate similar vulnerabilities.
  • Restrict database user permissions to the minimum required for application functionality, limiting potential damage.
  • Enable detailed logging and monitoring to detect and respond to suspicious database queries in real time.
  • Educate developers on secure coding practices, focusing on SQL injection prevention techniques.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

11,000+ scanners. Free to start. No credit card required.

WeiPHP SQLi Scanner | CVE-2020-20300 Free Check | S4E