GHSA-cchx-mfrc-fwqr CVE-2019-10911
Improper authentication in Symfony
- Severity
- 7.5 / 10
- High · CVSS 3.0
- Exploit chance (EPSS)
- 1.21%
- Chance of exploitation in the next 30 days. Higher than 68.56% of scored vulnerabilities.
- Known exploited
- No
- Not in CISA's catalog
- Weakness
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
- CWE-287 Improper Authentication
- Fix
- Available
- 3 packages have a fixed version
Description
In Symfony before 2.7.51, 2.8.x before 2.8.50, 3.x before 3.4.26, 4.x before 4.1.12, and 4.2.x before 4.2.7, a vulnerability would allow an attacker to authenticate as a privileged user on sites with user registration and remember me login functionality enabled. This is related to symfony/security.
Affected versions
Packagist
| Package | Vulnerable | Fixed in |
|---|---|---|
| symfony/security | >= 2.7.0, < 2.7.51 |
2.7.51 |
| symfony/security | >= 2.8.0, < 2.8.50 |
2.8.50 |
| symfony/security | >= 3.0.0, < 3.4.26 |
3.4.26 |
| symfony/security | >= 4.0.0, < 4.1.12 |
4.1.12 |
| symfony/security | >= 4.2.0, < 4.2.7 |
4.2.7 |
| symfony/security-http | >= 2.7.0, < 2.7.51 |
2.7.51 |
| symfony/security-http | >= 2.8.0, < 2.8.50 |
2.8.50 |
| symfony/security-http | >= 3.0.0, < 3.4.26 |
3.4.26 |
| symfony/security-http | >= 4.0.0, < 4.1.12 |
4.1.12 |
| symfony/security-http | >= 4.2.0, < 4.2.7 |
4.2.7 |
| symfony/symfony | >= 2.7.0, < 2.7.51 |
2.7.51 |
| symfony/symfony | >= 2.8.0, < 2.8.50 |
2.8.50 |
| symfony/symfony | >= 3.0.0, < 3.4.26 |
3.4.26 |
| symfony/symfony | >= 4.0.0, < 4.1.12 |
4.1.12 |
| symfony/symfony | >= 4.2.0, < 4.2.7 |
4.2.7 |
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/security Packagist → 2.7.51
- composer
composer require symfony/security:^2.7.51
symfony/security-http Packagist → 2.7.51
- composer
composer require symfony/security-http:^2.7.51
symfony/symfony Packagist → 2.7.51
- composer
composer require symfony/symfony:^2.7.51
Severity breakdown
CVSS 3.0 7.5
CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Weakness
CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.
How to prevent it
- Architecture and Design: Compartmentalize the system to have "safe" areas where trust boundaries can be unambiguously drawn. Do not allow sensitive data to go outside of the trust boundary and always be careful when interfacing with a compartment outside of the safe area. Ensure that appropriate compartmentalization is built into the system design, and the compartmentalization allows for and reinforces privilege separation functionality. Architects and designers should rely on the principle of least privilege to decide the appropriate time to use privileges and the time to drop privileges.
CWE-287: Improper Authentication
When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.
How to prevent it
- Architecture and Design: Use an authentication framework or library such as the OWASP ESAPI Authentication feature.
References
Advisories
Other links
- github.com/symfony/symfony/commit/a29ce2817cf43bb1850cf6af114004ac26c7a081
- github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-http/C…
- github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security/CVE-20…
- github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-201…
- github.com/symfony/symfony
- symfony.com/blog/cve-2019-10911-add-a-separator-in-the-remember-me-cookie-hash
- symfony.com/cve-2019-10911
- synology.com/security/advisory/Synology_SA_19_19
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/symfony |
| 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/symfony |
| GHSA-6h46-9jf5-q59x Symfony: Security Firewall Bypass via failure_forward Subrequest: Unauthenticated Access to access_control-Protected GET Routes | High | Also affects symfony/security-http |
| 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