S4E just found a medium-severity finding from internal ip disclosure vulnerability scanner
PlatformPlansPartners
Resources
ToolsBlogDocs
Sign Up →
critical·Product Based Web Vulnerabilities·Updated May 19, 2025

CVE-2018-20062 Scanner

CVE-2018-20062 Scanner - Remote Code Execution vulnerability in ThinkPHP

Est. Time~10 seconds
Scan TypeSingle Scan
Targetsurl
CostFree
2k
Times Used
continuous scan runs
3.7k
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
🔴
CISA Known Exploited Vulnerability
This CVE is actively exploited in the wild. CISA mandates federal agencies to patch immediately.
CVECVE-2018-20062
9.8
CVSScritical
Exploitable remotely over the internet · no authentication required.

An issue was discovered in NoneCms V1.3. thinkphp/library/think/App.php allows remote attackers to execute arbitrary PHP code via crafted use of the filter parameter, as demonstrated by the s=index/\think\Request/input&filter=phpinfo&data=1 query string.

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

ThinkPHP is an open-source PHP framework widely used for building web applications. It is utilized by developers and businesses to create robust and scalable web solutions efficiently. Known for its quick learning curve and rich feature set, ThinkPHP is popular for projects ranging from small websites to large enterprise applications. The framework promotes modern development practices, making it a preferred choice for developers seeking a streamlined and effective platform. Its active community provides extensive resources and support, which contributes to its widespread use in various industries. However, being a major framework, it requires vigilant maintenance to prevent potential security issues.

The Remote Code Execution (RCE) vulnerability in ThinkPHP 5.0.23 allows attackers to run arbitrary PHP code on the server. Exploiting this vulnerability could enable malicious users to execute unauthorized commands, bypassing security controls. The flaw arises from improper handling and validation of input parameters, particularly in the filter function. Attackers can craft special requests that exploit this to inject and run code remotely. Due to its critical nature, this vulnerability necessitates urgent attention as it can lead to complete server compromise. Organizations using vulnerable versions of ThinkPHP need to take immediate action to secure their systems.

The vulnerability is specifically found in the App.php file of ThinkPHP's library, where inadequate input filtering allows attackers to inject code. The endpoint vulnerable to this is typically engaged through GET requests with manipulated parameters. By embedding malicious functions within the URL parameters, such as using phpinfo in the filter parameter, an attacker can trigger the execution of arbitrary code. Successful exploitation requires no authentication, making it accessible to a wide range of potential attackers. This also means that the impact can be severe if exploited in a production environment, affecting the confidentiality, integrity, and availability of the system.

Exploiting this vulnerability could lead to complete control of the affected server by an attacker. This includes unauthorized access to sensitive data, deployment of malware, and disruption of services. Additionally, the attacker could leverage control of the server to engage in further attacks on other systems within the network. Organizations might face significant losses, not just in terms of data but also in terms of revenue and reputation. The legal implications of a data breach as a result of this exploitation could also be severe, leading to sanctions and penalties.

REFERENCES

Solution Advice
  • Update ThinkPHP to the latest version where this vulnerability is patched.
  • Implement input validation to ensure that only expected parameters are processed by the application.
  • Consider employing a web application firewall (WAF) to filter malicious requests and protect the server from exploitation.
  • Regularly audit and monitor traffic to detect suspicious activity that could indicate attempted exploits.
  • Educate development and security teams about the vulnerability to ensure proactive measures are taken for future releases.

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.