CVE-2018-1000088
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.
What to do
Fixed builds are available from Debian, RubyGems: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | ruby-doorkeeper | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | ruby-doorkeeper | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | ruby-doorkeeper | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | ruby-doorkeeper | Fix pending | 2.2.1-1ubuntu0.1~esm2 (Ubuntu Pro) | UBUNTU-CVE-2018-1000088 |
| Debian 14 | ruby-doorkeeper | Fixed | 4.3.1-1 | DEBIAN-CVE-2018-1000088 |
| Debian 13 | ruby-doorkeeper | Fixed | 4.3.1-1 | DEBIAN-CVE-2018-1000088 |
| Debian 12 | ruby-doorkeeper | Fixed | 4.3.1-1 | DEBIAN-CVE-2018-1000088 |
| RubyGems library | doorkeeper | Fixed | 4.2.6 | GHSA-hwhh-2fwm-cfgw |
References
- https://github.com/rubysec/ruby-advisory-db/pull/328/files
- https://github.com/doorkeeper-gem/doorkeeper/issues/969
- https://github.com/doorkeeper-gem/doorkeeper/releases/tag/v4.3.0
- https://github.com/doorkeeper-gem/doorkeeper/pull/970
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.