GHSA-m2hh-2m46-x6j5: silverstripe/framework may disclose database credentials during connection failure
Noroxi assessment
Priority: Monitor (action score 26/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Anyone who can reach it over the internet can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: silverstripe/framework (Packagist) 3.7.1, 4.0.5, 4.1.3.
Low priority for now. Upgrade to silverstripe/framework (Packagist) 3.7.1, 4.0.5, 4.1.3 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: OSV
When running SilverStripe 3.7 or 4.x in dev mode with the mysqli database driver, there is a potential to disclose the connection details. We have blacklisted the sensitive parts of the connection information from being included in dev mode stack traces when database errors occur.
- Published
- May 28, 2024
- Updated
- Dec 3, 2024
- EPSS
- —
- CWE
- CWE-209
Report tools
Action score
26
Low priority for now.
- CVSS
- 26 / 40 · 6.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · —
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| Packagist | silverstripe/framework | pkg:composer/silverstripe/framework |
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Packagist | silverstripe/framework | from 3.7.0-rc1 · before 3.7.1 | 3.7.1 |
| Packagist | silverstripe/framework | from 4.0.0-rc1 · before 4.0.5 | 4.0.5 |
| Packagist | silverstripe/framework | from 4.1.0-rc1 · before 4.1.3 | 4.1.3 |
| Packagist | silverstripe/framework | from 4.2.0-rc1 · before 4.2.2 | 4.2.2 |
Same product
Packagist: all recordsOther highest-scoring records for the same primary product.
- GHSA-8v6m-7f5v-hhx6Silverstripe Brute force bypass on default admin36Monitor
- GHSA-265q-222x-52m6silverstripe/framework has potential SQL Injection vulnerability in PostgreSQL database connector35Monitor
- GHSA-vcg6-8fxc-x5cqsilverstripe/framework allows upload of dangerous file types35Monitor
Published before and after this one in the same product
- ← EarlierGHSA-vh7q-j8p5-2h4hMay 27, 2024 · silverstripe/framework sends passwords back to browsers under some circumstances14Monitor
- ← EarlierGHSA-crr3-h4m8-7f56May 27, 2024 · silverstripe/framework vulnerable to member disclosure in login form21Monitor
- Later →GHSA-cwgq-83w5-8jfqMay 28, 2024 · silverstripe/framework has possible denial of service attack vector when flushing30Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Packagist:silverstripe/framework | 3.7.1 | Package registry (OSV) |
| Packagist:silverstripe/framework | 4.0.5 | Package registry (OSV) |
| Packagist:silverstripe/framework | 4.1.3 | Package registry (OSV) |
| Packagist:silverstripe/framework | 4.2.2 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Not on record for this CVE: EPSS history · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- none
- Availability
- none
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- None
- Availability impact
- None
Weakness class (CWE)
CWE-209 · Generation of Error Message Containing Sensitive InformationCVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
osv
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (5 more)Show less
- github.com/silverstripe/silverstripe-framework/commit/54251952387394d72b221e797a80edfbf9a973ee
- github.com/silverstripe/silverstripe-framework/commit/9aabe0a0f7a061d87cc92923f8811e14d7a032f5
- github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2018-018-1.yaml
- github.com/silverstripe/silverstripe-framework
- www.silverstripe.org/download/security-releases/ss-2018-018
Vendor advisories and official records. Exploit/PoC links are deliberately left out.