Bug 1620266 (CVE-2017-16653)

Summary: CVE-2017-16653 php-symfony: improper CSRF token generation for HTTP and HTTPS
Product: [Other] Security Response Reporter: Laura Pardo <lpardo>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: fedora, james.hogarth, shawn
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: symfony 2.7.38, symfony 2.8.31, symfony 3.2.14, symfony 3.3.13, symfony 3.4-BETA5, symfony 4.0-BETA5 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-10 10:36:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1620267, 1620268, 1620269, 1620270    
Bug Blocks:    

Description Laura Pardo 2018-08-22 20:34:37 UTC
An issue was discovered in Symfony before 2.7.38, 2.8.31, 3.2.14, 3.3.13, 3.4-BETA5, and 4.0-BETA5. The current implementation of CSRF protection in Symfony (Version >=2) does not use different tokens for HTTP and HTTPS; therefore the token is subject to MITM attacks on HTTP and can then be used in an HTTPS context to do CSRF attacks. 


References:
https://symfony.com/blog/cve-2017-16653-csrf-protection-does-not-use-different-tokens-for-http-and-https

Comment 1 Laura Pardo 2018-08-22 20:35:56 UTC
Created php-symfony tracking bugs for this issue:

Affects: epel-7 [bug 1620268]
Affects: fedora-27 [bug 1620267]


Created php-symfony3 tracking bugs for this issue:

Affects: fedora-28 [bug 1620270]


Created php-symfony4 tracking bugs for this issue:

Affects: fedora-all [bug 1620269]

Comment 2 Product Security DevOps Team 2019-06-10 10:36:25 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.