LWN.net Logo

php-symfony2-HttpFoundation: Request::getHost() poisoning

Package(s):php-symfony2-HttpFoundation CVE #(s):CVE-2013-4752
Created:August 21, 2013 Updated:August 21, 2013
Description: From the Symfony advisory:

Affected versions

All 2.0.X, 2.1.X, 2.2.X, and 2.3.X versions of the HttpFoundation component are affected by this issue.

Description

As the $_SERVER['HOST'] content is an input coming from the user, it can be manipulated and cannot be trusted. In the recent months, a lot of different attacks have been discovered relying on inconsistencies between the handling of the Host header by various software (web servers, reverse proxies, web frameworks, ...). Basically, everytime the framework is generating an absolute URL (when sending an email to reset a password for instance), the host might have been manipulated by an attacker. And depending on the configuration of your web server, the Symfony Request::getHost() method might be vulnerable to some of these attacks.

Alerts:
Fedora FEDORA-2013-14608 2013-08-21
Fedora FEDORA-2013-14579 2013-08-21

(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds