Sinatra up to 2.0.1 400 Page Request cross site scripting
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.1 | $0-$5k | 0.00 |
Summary
A vulnerability was found in Sinatra up to 2.0.1. It has been rated as problematic. Impacted is an unknown function of the component 400 Page. The manipulation as part of Request leads to cross site scripting. This vulnerability is referenced as CVE-2018-11627. Remote exploitation of the attack is possible. No exploit is available. Upgrading the affected component is advised.
Details
A vulnerability was found in Sinatra up to 2.0.1. It has been rated as problematic. This issue affects an unknown function of the component 400 Page. The manipulation as part of a Request leads to a cross site scripting vulnerability. Using CWE to declare the problem leads to CWE-79. The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. Impacted is integrity. The summary by CVE is:
Sinatra before 2.0.2 has XSS via the 400 Bad Request page that occurs upon a params parser exception.
The bug was discovered 05/21/2018. The weakness was published 05/31/2018 (Website). It is possible to read the advisory at github.com. The identification of this vulnerability is CVE-2018-11627 since 05/31/2018. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. It demands that the victim is doing some kind of user interaction. The technical details are unknown and an exploit is not publicly available. The attack technique deployed by this issue is T1059.007 according to MITRE ATT&CK.
The vulnerability was handled as a non-public zero-day exploit for at least 10 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 110667 (Fedora 27 : 1:rubygem-sinatra (2018-0b17e1e529)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Fedora Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 277350 (Fedora Security Update for rubygem-sinatra (FEDORA-2018-0b17e1e529)).
Upgrading to version 2.0.2 eliminates this vulnerability. A possible mitigation has been published 4 weeks after the disclosure of the vulnerability.
The vulnerability is also documented in the vulnerability database at Tenable (110667). Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Product
Name
Version
License
Website
- Product: https://github.com/sinatra/sinatra/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.2VulDB Meta Temp Score: 5.1
VulDB Base Score: 4.3
VulDB Temp Score: 4.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 6.1
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Cross site scriptingCWE: CWE-79 / CWE-94 / CWE-74
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 110667
Nessus Name: Fedora 27 : 1:rubygem-sinatra (2018-0b17e1e529)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Upgrade: Sinatra 2.0.2
Patch: github.com
Timeline
05/21/2018 🔍05/31/2018 🔍
05/31/2018 🔍
05/31/2018 🔍
06/01/2018 🔍
06/23/2018 🔍
06/25/2018 🔍
03/19/2023 🔍
Sources
Product: github.comAdvisory: FEDORA-2018-0b17e1e529
Status: Not defined
CVE: CVE-2018-11627 (🔍)
GCVE (CVE): GCVE-0-2018-11627
GCVE (VulDB): GCVE-100-118475
Entry
Created: 06/01/2018 10:34Updated: 03/19/2023 08:15
Changes: 06/01/2018 10:34 (72), 02/10/2020 16:40 (2), 03/19/2023 08:11 (5), 03/19/2023 08:15 (1)
Complete: 🔍
Cache ID: 216::103
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.