Doorkeeper is vulnerable to stored XSS and code execution
GHSA-hwhh-2fwm-cfgw · CVE-2018-1000088
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
Description
Doorkeeper version 2.1.0 through 4.2.5 contains a Cross Site Scripting (XSS) vulnerability in web view's OAuth app form, user authorization prompt web view that can result in Stored XSS on the OAuth Client's name will cause users interacting with it will execute payload. This attack appear to be exploitable via The victim must be tricked to click an opaque link to the web view that runs the XSS payload. A malicious version virtually indistinguishable from a normal link. This vulnerability appears to have been fixed in 4.2.6, 4.3.0.
References
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2018-1000088
- WEB https://github.com/doorkeeper-gem/doorkeeper/issues/969
- WEB https://github.com/doorkeeper-gem/doorkeeper/pull/970
- WEB https://github.com/rubysec/ruby-advisory-db/pull/328/files
- WEB https://github.com/doorkeeper-gem/doorkeeper/commit/7b1a8373ecd69768c896000c7971dbf48948c1b5
- WEB https://blog.justinbull.ca/cve-2018-1000088-stored-xss-in-doorkeeper
- PACKAGE https://github.com/doorkeeper-gem/doorkeeper
- WEB https://github.com/doorkeeper-gem/doorkeeper/releases/tag/v4.3.0
- WEB https://github.com/rubysec/ruby-advisory-db/blob/master/gems/doorkeeper/CVE-2018-1000088.yml
Ready to move
Start Securing
Free, no credit card | First findings in minutes