{"id":"GHSA-8c8c-4vfj-rrpc","aliases":[],"url":"https://o3.security/vulnerability/GHSA-8c8c-4vfj-rrpc","summary":"Reflected Cross-Site Scripting in redis-commander","details":"Affected versions of `redis-commander` contain a cross-site scripting vulnerability in the `highlighterId` paramter of the clipboard.swf component on hosts serving Redis Commander.\n\nMitigating factors:\nFlash must be installed / enabled for this to work. The below proof of concept was verified to work using Firefox 57.0 on Windows 10 by manually installing the [Flash NPAPI Windows plugin](https://get.adobe.com/flashplayer/otherversions/)\n\n## Proof of concept\n\n```\nhttp://instance/jstree/_docs/syntax/clipboard.swf?highlighterId=\\%22))}%20catch(e)%20{alert(document.domain);}//\n```\n\n\n## Recommendation\n\nNo direct patch for this vulnerability is currently available.\n\nAt this time, the best mitigation is to use an alternative, functionally equivalent package, or to use extreme caution when using redis-commander, ensuring that redis-commmander is the only web page you have open, and avoiding clicking on any links.","published":"2020-09-01T19:05:11Z","modified":"2022-03-04T22:02:50Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"npm","name":"redis-commander","fixedVersion":"0.5.0"}],"fix":{"url":"https://github.com/joeferner/redis-commander/commit/1a483ebb3a706cf199dd283cf0aead96606adb14","label":"joeferner/redis-commander@1a483eb"},"references":[{"type":"WEB","url":"https://github.com/joeferner/redis-commander/commit/1a483ebb3a706cf199dd283cf0aead96606adb14"},{"type":"WEB","url":"https://hackerone.com/reports/296377"},{"type":"PACKAGE","url":"https://github.com/joeferner/redis-commander"},{"type":"WEB","url":"https://github.com/joeferner/redis-commander/releases/tag/v0.5.0"},{"type":"WEB","url":"https://www.npmjs.com/advisories/562"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2022-03-04T22:02:50Z"}}