Upstream information

CVE-2012-1172 at MITRE

Description

The file-upload implementation in rfc1867.c in PHP before 5.4.0 does not properly handle invalid [ (open square bracket) characters in name values, which makes it easier for remote attackers to cause a denial of service (malformed $_FILES indexes) or conduct directory traversal attacks during multi-file uploads by leveraging a script that lacks its own filename restrictions.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having moderate severity.

CVSS v2 Scores
  National Vulnerability Database
Base Score 5.8
Vector AV:N/AC:M/Au:N/C:N/I:P/A:P
Access Vector Network
Access Complexity Medium
Authentication None
Confidentiality Impact None
Integrity Impact Partial
Availability Impact Partial
SUSE Bugzilla entry: 752030 [RESOLVED / FIXED]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
SUSE Linux Enterprise Server 11 SP1
  • apache2-mod_php5 >= 5.2.14-0.7.30.38.1
  • php5 >= 5.2.14-0.7.30.38.1
  • php5-bcmath >= 5.2.14-0.7.30.38.1
  • php5-bz2 >= 5.2.14-0.7.30.38.1
  • php5-calendar >= 5.2.14-0.7.30.38.1
  • php5-ctype >= 5.2.14-0.7.30.38.1
  • php5-curl >= 5.2.14-0.7.30.38.1
  • php5-dba >= 5.2.14-0.7.30.38.1
  • php5-dbase >= 5.2.14-0.7.30.38.1
  • php5-dom >= 5.2.14-0.7.30.38.1
  • php5-exif >= 5.2.14-0.7.30.38.1
  • php5-fastcgi >= 5.2.14-0.7.30.38.1
  • php5-ftp >= 5.2.14-0.7.30.38.1
  • php5-gd >= 5.2.14-0.7.30.38.1
  • php5-gettext >= 5.2.14-0.7.30.38.1
  • php5-gmp >= 5.2.14-0.7.30.38.1
  • php5-hash >= 5.2.14-0.7.30.38.1
  • php5-iconv >= 5.2.14-0.7.30.38.1
  • php5-json >= 5.2.14-0.7.30.38.1
  • php5-ldap >= 5.2.14-0.7.30.38.1
  • php5-mbstring >= 5.2.14-0.7.30.38.1
  • php5-mcrypt >= 5.2.14-0.7.30.38.1
  • php5-mysql >= 5.2.14-0.7.30.38.1
  • php5-odbc >= 5.2.14-0.7.30.38.1
  • php5-openssl >= 5.2.14-0.7.30.38.1
  • php5-pcntl >= 5.2.14-0.7.30.38.1
  • php5-pdo >= 5.2.14-0.7.30.38.1
  • php5-pear >= 5.2.14-0.7.30.38.1
  • php5-pgsql >= 5.2.14-0.7.30.38.1
  • php5-pspell >= 5.2.14-0.7.30.38.1
  • php5-shmop >= 5.2.14-0.7.30.38.1
  • php5-snmp >= 5.2.14-0.7.30.38.1
  • php5-soap >= 5.2.14-0.7.30.38.1
  • php5-suhosin >= 5.2.14-0.7.30.38.1
  • php5-sysvmsg >= 5.2.14-0.7.30.38.1
  • php5-sysvsem >= 5.2.14-0.7.30.38.1
  • php5-sysvshm >= 5.2.14-0.7.30.38.1
  • php5-tokenizer >= 5.2.14-0.7.30.38.1
  • php5-wddx >= 5.2.14-0.7.30.38.1
  • php5-xmlreader >= 5.2.14-0.7.30.38.1
  • php5-xmlrpc >= 5.2.14-0.7.30.38.1
  • php5-xmlwriter >= 5.2.14-0.7.30.38.1
  • php5-xsl >= 5.2.14-0.7.30.38.1
  • php5-zip >= 5.2.14-0.7.30.38.1
  • php5-zlib >= 5.2.14-0.7.30.38.1
Patchnames:
slessp1-apache2-mod_php5
SUSE Linux Enterprise Server 11 SP2
  • apache2-mod_php5 >= 5.2.14-0.7.30.38.1
  • apache2-mod_php53 >= 5.3.8-0.27.1
  • php5 >= 5.2.14-0.7.30.38.1
  • php5-bcmath >= 5.2.14-0.7.30.38.1
  • php5-bz2 >= 5.2.14-0.7.30.38.1
  • php5-calendar >= 5.2.14-0.7.30.38.1
  • php5-ctype >= 5.2.14-0.7.30.38.1
  • php5-curl >= 5.2.14-0.7.30.38.1
  • php5-dba >= 5.2.14-0.7.30.38.1
  • php5-dbase >= 5.2.14-0.7.30.38.1
  • php5-dom >= 5.2.14-0.7.30.38.1
  • php5-exif >= 5.2.14-0.7.30.38.1
  • php5-fastcgi >= 5.2.14-0.7.30.38.1
  • php5-ftp >= 5.2.14-0.7.30.38.1
  • php5-gd >= 5.2.14-0.7.30.38.1
  • php5-gettext >= 5.2.14-0.7.30.38.1
  • php5-gmp >= 5.2.14-0.7.30.38.1
  • php5-hash >= 5.2.14-0.7.30.38.1
  • php5-iconv >= 5.2.14-0.7.30.38.1
  • php5-json >= 5.2.14-0.7.30.38.1
  • php5-ldap >= 5.2.14-0.7.30.38.1
  • php5-mbstring >= 5.2.14-0.7.30.38.1
  • php5-mcrypt >= 5.2.14-0.7.30.38.1
  • php5-mysql >= 5.2.14-0.7.30.38.1
  • php5-odbc >= 5.2.14-0.7.30.38.1
  • php5-openssl >= 5.2.14-0.7.30.38.1
  • php5-pcntl >= 5.2.14-0.7.30.38.1
  • php5-pdo >= 5.2.14-0.7.30.38.1
  • php5-pear >= 5.2.14-0.7.30.38.1
  • php5-pgsql >= 5.2.14-0.7.30.38.1
  • php5-pspell >= 5.2.14-0.7.30.38.1
  • php5-shmop >= 5.2.14-0.7.30.38.1
  • php5-snmp >= 5.2.14-0.7.30.38.1
  • php5-soap >= 5.2.14-0.7.30.38.1
  • php5-suhosin >= 5.2.14-0.7.30.38.1
  • php5-sysvmsg >= 5.2.14-0.7.30.38.1
  • php5-sysvsem >= 5.2.14-0.7.30.38.1
  • php5-sysvshm >= 5.2.14-0.7.30.38.1
  • php5-tokenizer >= 5.2.14-0.7.30.38.1
  • php5-wddx >= 5.2.14-0.7.30.38.1
  • php5-xmlreader >= 5.2.14-0.7.30.38.1
  • php5-xmlrpc >= 5.2.14-0.7.30.38.1
  • php5-xmlwriter >= 5.2.14-0.7.30.38.1
  • php5-xsl >= 5.2.14-0.7.30.38.1
  • php5-zip >= 5.2.14-0.7.30.38.1
  • php5-zlib >= 5.2.14-0.7.30.38.1
  • php53 >= 5.3.8-0.27.1
  • php53-bcmath >= 5.3.8-0.27.1
  • php53-bz2 >= 5.3.8-0.27.1
  • php53-calendar >= 5.3.8-0.27.1
  • php53-ctype >= 5.3.8-0.27.1
  • php53-curl >= 5.3.8-0.27.1
  • php53-dba >= 5.3.8-0.27.1
  • php53-dom >= 5.3.8-0.27.1
  • php53-exif >= 5.3.8-0.27.1
  • php53-fastcgi >= 5.3.8-0.27.1
  • php53-fileinfo >= 5.3.8-0.27.1
  • php53-ftp >= 5.3.8-0.27.1
  • php53-gd >= 5.3.8-0.27.1
  • php53-gettext >= 5.3.8-0.27.1
  • php53-gmp >= 5.3.8-0.27.1
  • php53-iconv >= 5.3.8-0.27.1
  • php53-intl >= 5.3.8-0.27.1
  • php53-json >= 5.3.8-0.27.1
  • php53-ldap >= 5.3.8-0.27.1
  • php53-mbstring >= 5.3.8-0.27.1
  • php53-mcrypt >= 5.3.8-0.27.1
  • php53-mysql >= 5.3.8-0.27.1
  • php53-odbc >= 5.3.8-0.27.1
  • php53-openssl >= 5.3.8-0.27.1
  • php53-pcntl >= 5.3.8-0.27.1
  • php53-pdo >= 5.3.8-0.27.1
  • php53-pear >= 5.3.8-0.27.1
  • php53-pgsql >= 5.3.8-0.27.1
  • php53-pspell >= 5.3.8-0.27.1
  • php53-shmop >= 5.3.8-0.27.1
  • php53-snmp >= 5.3.8-0.27.1
  • php53-soap >= 5.3.8-0.27.1
  • php53-suhosin >= 5.3.8-0.27.1
  • php53-sysvmsg >= 5.3.8-0.27.1
  • php53-sysvsem >= 5.3.8-0.27.1
  • php53-sysvshm >= 5.3.8-0.27.1
  • php53-tokenizer >= 5.3.8-0.27.1
  • php53-wddx >= 5.3.8-0.27.1
  • php53-xmlreader >= 5.3.8-0.27.1
  • php53-xmlrpc >= 5.3.8-0.27.1
  • php53-xmlwriter >= 5.3.8-0.27.1
  • php53-xsl >= 5.3.8-0.27.1
  • php53-zip >= 5.3.8-0.27.1
  • php53-zlib >= 5.3.8-0.27.1
Patchnames:
slessp1-apache2-mod_php5
slessp2-apache2-mod_php53
SUSE Linux Enterprise Server 11 SP3
  • apache2-mod_php53 >= 5.3.17-0.13.7
  • php53 >= 5.3.17-0.13.7
  • php53-bcmath >= 5.3.17-0.13.7
  • php53-bz2 >= 5.3.17-0.13.7
  • php53-calendar >= 5.3.17-0.13.7
  • php53-ctype >= 5.3.17-0.13.7
  • php53-curl >= 5.3.17-0.13.7
  • php53-dba >= 5.3.17-0.13.7
  • php53-dom >= 5.3.17-0.13.7
  • php53-exif >= 5.3.17-0.13.7
  • php53-fastcgi >= 5.3.17-0.13.7
  • php53-fileinfo >= 5.3.17-0.13.7
  • php53-ftp >= 5.3.17-0.13.7
  • php53-gd >= 5.3.17-0.13.7
  • php53-gettext >= 5.3.17-0.13.7
  • php53-gmp >= 5.3.17-0.13.7
  • php53-iconv >= 5.3.17-0.13.7
  • php53-intl >= 5.3.17-0.13.7
  • php53-json >= 5.3.17-0.13.7
  • php53-ldap >= 5.3.17-0.13.7
  • php53-mbstring >= 5.3.17-0.13.7
  • php53-mcrypt >= 5.3.17-0.13.7
  • php53-mysql >= 5.3.17-0.13.7
  • php53-odbc >= 5.3.17-0.13.7
  • php53-openssl >= 5.3.17-0.13.7
  • php53-pcntl >= 5.3.17-0.13.7
  • php53-pdo >= 5.3.17-0.13.7
  • php53-pear >= 5.3.17-0.13.7
  • php53-pgsql >= 5.3.17-0.13.7
  • php53-pspell >= 5.3.17-0.13.7
  • php53-shmop >= 5.3.17-0.13.7
  • php53-snmp >= 5.3.17-0.13.7
  • php53-soap >= 5.3.17-0.13.7
  • php53-suhosin >= 5.3.17-0.13.7
  • php53-sysvmsg >= 5.3.17-0.13.7
  • php53-sysvsem >= 5.3.17-0.13.7
  • php53-sysvshm >= 5.3.17-0.13.7
  • php53-tokenizer >= 5.3.17-0.13.7
  • php53-wddx >= 5.3.17-0.13.7
  • php53-xmlreader >= 5.3.17-0.13.7
  • php53-xmlrpc >= 5.3.17-0.13.7
  • php53-xmlwriter >= 5.3.17-0.13.7
  • php53-xsl >= 5.3.17-0.13.7
  • php53-zip >= 5.3.17-0.13.7
  • php53-zlib >= 5.3.17-0.13.7
SUSE Linux Enterprise Server 11 SP4
  • apache2-mod_php53 >= 5.3.17-0.41.1
  • php53 >= 5.3.17-0.41.1
  • php53-bcmath >= 5.3.17-0.41.1
  • php53-bz2 >= 5.3.17-0.41.1
  • php53-calendar >= 5.3.17-0.41.1
  • php53-ctype >= 5.3.17-0.41.1
  • php53-curl >= 5.3.17-0.41.1
  • php53-dba >= 5.3.17-0.41.1
  • php53-dom >= 5.3.17-0.41.1
  • php53-exif >= 5.3.17-0.41.1
  • php53-fastcgi >= 5.3.17-0.41.1
  • php53-fileinfo >= 5.3.17-0.41.1
  • php53-ftp >= 5.3.17-0.41.1
  • php53-gd >= 5.3.17-0.41.1
  • php53-gettext >= 5.3.17-0.41.1
  • php53-gmp >= 5.3.17-0.41.1
  • php53-iconv >= 5.3.17-0.41.1
  • php53-intl >= 5.3.17-0.41.1
  • php53-json >= 5.3.17-0.41.1
  • php53-ldap >= 5.3.17-0.41.1
  • php53-mbstring >= 5.3.17-0.41.1
  • php53-mcrypt >= 5.3.17-0.41.1
  • php53-mysql >= 5.3.17-0.41.1
  • php53-odbc >= 5.3.17-0.41.1
  • php53-openssl >= 5.3.17-0.41.1
  • php53-pcntl >= 5.3.17-0.41.1
  • php53-pdo >= 5.3.17-0.41.1
  • php53-pear >= 5.3.17-0.41.1
  • php53-pgsql >= 5.3.17-0.41.1
  • php53-pspell >= 5.3.17-0.41.1
  • php53-shmop >= 5.3.17-0.41.1
  • php53-snmp >= 5.3.17-0.41.1
  • php53-soap >= 5.3.17-0.41.1
  • php53-suhosin >= 5.3.17-0.41.1
  • php53-sysvmsg >= 5.3.17-0.41.1
  • php53-sysvsem >= 5.3.17-0.41.1
  • php53-sysvshm >= 5.3.17-0.41.1
  • php53-tokenizer >= 5.3.17-0.41.1
  • php53-wddx >= 5.3.17-0.41.1
  • php53-xmlreader >= 5.3.17-0.41.1
  • php53-xmlrpc >= 5.3.17-0.41.1
  • php53-xmlwriter >= 5.3.17-0.41.1
  • php53-xsl >= 5.3.17-0.41.1
  • php53-zip >= 5.3.17-0.41.1
  • php53-zlib >= 5.3.17-0.41.1
SUSE Linux Enterprise Server for SAP Applications 11 SP2
SUSE Linux Enterprise Server for VMWare 11 SP2
  • apache2-mod_php53 >= 5.3.8-0.27.1
  • php53 >= 5.3.8-0.27.1
  • php53-bcmath >= 5.3.8-0.27.1
  • php53-bz2 >= 5.3.8-0.27.1
  • php53-calendar >= 5.3.8-0.27.1
  • php53-ctype >= 5.3.8-0.27.1
  • php53-curl >= 5.3.8-0.27.1
  • php53-dba >= 5.3.8-0.27.1
  • php53-dom >= 5.3.8-0.27.1
  • php53-exif >= 5.3.8-0.27.1
  • php53-fastcgi >= 5.3.8-0.27.1
  • php53-fileinfo >= 5.3.8-0.27.1
  • php53-ftp >= 5.3.8-0.27.1
  • php53-gd >= 5.3.8-0.27.1
  • php53-gettext >= 5.3.8-0.27.1
  • php53-gmp >= 5.3.8-0.27.1
  • php53-iconv >= 5.3.8-0.27.1
  • php53-intl >= 5.3.8-0.27.1
  • php53-json >= 5.3.8-0.27.1
  • php53-ldap >= 5.3.8-0.27.1
  • php53-mbstring >= 5.3.8-0.27.1
  • php53-mcrypt >= 5.3.8-0.27.1
  • php53-mysql >= 5.3.8-0.27.1
  • php53-odbc >= 5.3.8-0.27.1
  • php53-openssl >= 5.3.8-0.27.1
  • php53-pcntl >= 5.3.8-0.27.1
  • php53-pdo >= 5.3.8-0.27.1
  • php53-pear >= 5.3.8-0.27.1
  • php53-pgsql >= 5.3.8-0.27.1
  • php53-pspell >= 5.3.8-0.27.1
  • php53-shmop >= 5.3.8-0.27.1
  • php53-snmp >= 5.3.8-0.27.1
  • php53-soap >= 5.3.8-0.27.1
  • php53-suhosin >= 5.3.8-0.27.1
  • php53-sysvmsg >= 5.3.8-0.27.1
  • php53-sysvsem >= 5.3.8-0.27.1
  • php53-sysvshm >= 5.3.8-0.27.1
  • php53-tokenizer >= 5.3.8-0.27.1
  • php53-wddx >= 5.3.8-0.27.1
  • php53-xmlreader >= 5.3.8-0.27.1
  • php53-xmlrpc >= 5.3.8-0.27.1
  • php53-xmlwriter >= 5.3.8-0.27.1
  • php53-xsl >= 5.3.8-0.27.1
  • php53-zip >= 5.3.8-0.27.1
  • php53-zlib >= 5.3.8-0.27.1
Patchnames:
slessp2-apache2-mod_php53
SUSE Linux Enterprise Software Development Kit 11 SP2
  • php53-devel >= 5.3.8-0.27.1
  • php53-imap >= 5.3.8-0.27.1
  • php53-posix >= 5.3.8-0.27.1
  • php53-readline >= 5.3.8-0.27.1
  • php53-sockets >= 5.3.8-0.27.1
  • php53-sqlite >= 5.3.8-0.27.1
  • php53-tidy >= 5.3.8-0.27.1
Patchnames:
sdksp2-apache2-mod_php53
SUSE Linux Enterprise Software Development Kit 11 SP4
  • php53-devel >= 5.3.17-0.41.1
  • php53-imap >= 5.3.17-0.41.1
  • php53-posix >= 5.3.17-0.41.1
  • php53-readline >= 5.3.17-0.41.1
  • php53-sockets >= 5.3.17-0.41.1
  • php53-sqlite >= 5.3.17-0.41.1
  • php53-tidy >= 5.3.17-0.41.1


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification.

Product(s) Source package State
SLES-10-SP3 php5 Released
SLES-10-SP4 php5 Released
SLES_LTSS-10-SP4 php5 Released
SUSE Linux Enterprise Server 11 SP1 php5 Released
SUSE Linux Enterprise Server 11 SP1 LTSS php5 Released
SUSE Linux Enterprise Server 11 SP2 php5 Released
SUSE Linux Enterprise Server 11 SP2 LTSS php5 Released
SUSE Linux Enterprise Server 11 SP2 for VMware php5 Released
SUSE Linux Enterprise Server for SAP Business All-in-One php5 Released
SUSE Linux Enterprise Software Development Kit 11 SP1 php5 Released
SUSE Linux Enterprise Software Development Kit 11 SP2 php5 Released