ruby-saml Gem up to 0.x on Ruby xml_security.rb injection
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.6 | $0-$5k | 0.00 |
Summary
A vulnerability identified as problematic has been detected in ruby-saml Gem up to 0.x on Ruby. Affected by this issue is some unknown functionality of the file xml_security.rb. The manipulation leads to injection. This vulnerability is traded as CVE-2015-20108. There is no exploit available. You should upgrade the affected component.
Details
A vulnerability was found in ruby-saml Gem up to 0.x on Ruby (Programming Language Software) and classified as problematic. This issue affects some unknown functionality of the file xml_security.rb. The manipulation with an unknown input leads to a injection vulnerability. Using CWE to declare the problem leads to CWE-74. The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component. Impacted is integrity. The summary by CVE is:
xml_security.rb in the ruby-saml gem before 1.0.0 for Ruby allows XPath injection and code execution because prepared statements are not used.
The weakness was shared 05/28/2023. It is possible to read the advisory at github.com. The identification of this vulnerability is CVE-2015-20108 since 05/27/2023. Technical details of the vulnerability are known, but there is no available exploit. The attack technique deployed by this issue is T1055 according to MITRE ATT&CK.
Upgrading to version 1.0.0 eliminates this vulnerability. The upgrade is hosted for download at github.com. Applying the patch 9853651b96b99653ea8627d757d46bfe62ab6448 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the vulnerability database at EUVD (EUVD-2023-1617). Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.6VulDB Meta Temp Score: 6.6
VulDB Base Score: 3.5
VulDB Temp Score: 3.4
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 9.8
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: 🔍
Exploiting
Class: InjectionCWE: CWE-74 / CWE-707 / CWE-20
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 |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: ruby-saml Gem 1.0.0
Patch: 9853651b96b99653ea8627d757d46bfe62ab6448
Timeline
05/27/2023 🔍05/28/2023 🔍
05/28/2023 🔍
07/14/2025 🔍
Sources
Advisory: 9853651b96b99653ea8627d757d46bfe62ab6448Status: Confirmed
CVE: CVE-2015-20108 (🔍)
GCVE (CVE): GCVE-0-2015-20108
GCVE (VulDB): GCVE-100-230099
EUVD: 🔍
Entry
Created: 05/28/2023 07:22Updated: 07/14/2025 00:11
Changes: 05/28/2023 07:22 (43), 06/21/2023 14:04 (1), 06/21/2023 14:10 (11), 07/14/2025 00:11 (16)
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.