GHSA-r2rq-3h56-fqm4 CVE-2018-11386
Symfony DoS
- Severity
- 5.9 / 10
- Medium · CVSS 3.0
- Exploit chance (EPSS)
- 1.58%
- Chance of exploitation in the next 30 days. Higher than 75.55% of scored vulnerabilities.
- Known exploited
- No
- Not in CISA's catalog
- Weakness
- CWE-613 Insufficient Session Expiration
- Fix
- Available
- 2 packages have a fixed version
Description
An issue was discovered in the HttpFoundation component in Symfony 2.7.x before 2.7.48, 2.8.x before 2.8.41, 3.3.x before 3.3.17, 3.4.x before 3.4.11, and 4.0.x before 4.0.11. The PDOSessionHandler class allows storing sessions on a PDO connection. Under some configurations and with a well-crafted payload, it was possible to do a denial of service on a Symfony application without too much resources.
Affected versions
Packagist
| Package | Vulnerable | Fixed in |
|---|---|---|
| symfony/http-foundation | >= 2.7.0, < 2.7.48 |
2.7.48 |
| symfony/http-foundation | >= 2.8.0, < 2.8.41 |
2.8.41 |
| symfony/http-foundation | >= 3.3.0, < 3.3.17 |
3.3.17 |
| symfony/http-foundation | >= 3.4.0, < 3.4.11 |
3.4.11 |
| symfony/http-foundation | >= 4.0.0, < 4.0.11 |
4.0.11 |
| symfony/symfony | >= 2.7.0, < 2.7.48 |
2.7.48 |
| symfony/symfony | >= 2.8.0, < 2.8.41 |
2.8.41 |
| symfony/symfony | >= 3.3.0, < 3.3.17 |
3.3.17 |
| symfony/symfony | >= 3.4.0, < 3.4.11 |
3.4.11 |
| symfony/symfony | >= 4.0.0, < 4.0.11 |
4.0.11 |
How to fix
Move to the fixed version or later with your package manager, update the lockfile, and run your tests. If the package only arrives through another dependency, upgrade that dependency first. If none of its releases pulls a fixed version yet, force the version with your package manager's override.
symfony/http-foundation Packagist → 2.7.48
- composer
composer require symfony/http-foundation:^2.7.48
symfony/symfony Packagist → 2.7.48
- composer
composer require symfony/symfony:^2.7.48
Severity breakdown
CVSS 3.0 5.9
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Weakness
CWE-613: Insufficient Session Expiration
According to WASC, "Insufficient Session Expiration is when a web site permits an attacker to reuse old session credentials or session IDs for authorization."
How to prevent it
- Implementation: Set sessions/credentials expiration date.
References
Advisories
Packages
Other links
- github.com/FriendsOfPHP/security-advisories/blob/master/symfony/http-foundation…
- github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-201…
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/G4XNB…
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UBQK7…
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WU5N2…
- symfony.com/blog/cve-2018-11386-denial-of-service-when-using-pdosessionhandler
- symfony.com/cve-2018-11386
- debian.org/security/2018/dsa-4262
Timeline
- Published
- Last updated by the source
- Latest EPSS score
Related advisories
| Advisory | Severity | Why it's related |
|---|---|---|
| GHSA-2v3c-qxhr-7vpv Symfony: Unbounded Recursion in the YAML Inline Lexer Lets a Single Document Crash the Process | High | Also affects symfony/symfony |
| GHSA-r925-mgvr-h9cc Symfony: ReDoS in HeaderUtils::split() Reachable Through the Cache-Control Request Header | High | Also affects symfony/http-foundation |
| GHSA-h5x3-xfc9-m39h Symfony: UrlGenerator Dot-Segment Encoding Skips Every Other Chained `../` or `./` → Generated URL Collapses Off-Route Under RFC 3986 Normalization | Medium | Also affects symfony/symfony |
| GHSA-v3wm-qf9p-c549 Symfony: HtmlSanitizer URL Parser Deny Gates Underinclusive: Percent-Encoded BiDi Marks and Unicode Whitespace Bypass Visual-Spoofing Defense | Medium | Also affects symfony/symfony |
| GHSA-rrj9-5q2j-4gvr Symfony: Mailomat Mailer Webhook Parser Reads the HMAC Algorithm from the Request: Signature Algorithm Downgrade | Medium | Also affects symfony/symfony |
| GHSA-38cx-cq6f-5755 Symfony: IpUtils::PRIVATE_SUBNETS Omits IPv6 Transition Forms (6to4, NAT64, Teredo, IPv4-compatible): SSRF Bypass in NoPrivateNetworkHttpClient | High | Also affects symfony/http-foundation |
| GHSA-6h46-9jf5-q59x Symfony: Security Firewall Bypass via failure_forward Subrequest: Unauthenticated Access to access_control-Protected GET Routes | High | Also affects symfony/symfony |
| GHSA-x5qj-865h-mgvm Symfony: HtmlSanitizer UrlAttributeSanitizer Misses URL Attributes | Medium | Also affects symfony/symfony |
MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.
Check your repos with MergeHarbor