Vulnerabilidad en utf8_decode en PHP (CVE-2010-3870)
Gravedad CVSS v2.0:
MEDIA
Tipo:
CWE-20
Validación incorrecta de entrada
Fecha de publicación:
12/11/2010
Última modificación:
11/04/2025
Descripción
La función utf8_decode en PHP anterior v5.3.4 no maneja adecuadamente la codificación UTF-8 corta y las secuencias malformadas en los datos UTF-8, lo que hace fácil para los atacantes remotos superar los mecanismos de protección en la secuencia de comandos en sitios cruzados (XSS) e inyección de SQL a través de cadenas manipuladas. <br />
Impacto
Puntuación base 2.0
6.80
Gravedad 2.0
MEDIA
Productos y versiones vulnerables
CPE | Desde | Hasta |
---|---|---|
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | 5.2.14 (excluyendo) | |
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | 5.3.0 (incluyendo) | 5.3.4 (excluyendo) |
cpe:2.3:o:canonical:ubuntu_linux:6.06:*:*:*:*:*:*:* | ||
cpe:2.3:o:canonical:ubuntu_linux:8.04:*:*:*:-:*:*:* | ||
cpe:2.3:o:canonical:ubuntu_linux:9.10:*:*:*:*:*:*:* | ||
cpe:2.3:o:canonical:ubuntu_linux:10.04:*:*:*:-:*:*:* | ||
cpe:2.3:o:canonical:ubuntu_linux:10.10:*:*:*:*:*:*:* |
Para consultar la lista completa de nombres de CPE con productos y versiones, ver esta página
Referencias a soluciones, herramientas e información
- http://bugs.php.net/bug.php?id=48230
- http://bugs.php.net/bug.php?id=49687
- http://lists.apple.com/archives/security-announce/2011/Mar/msg00006.html
- http://lists.fedoraproject.org/pipermail/package-announce/2011-January/052836.html
- http://lists.fedoraproject.org/pipermail/package-announce/2011-January/052845.html
- http://lists.opensuse.org/opensuse-security-announce/2010-12/msg00000.html
- http://marc.info/?l=bugtraq&m=133469208622507&w=2
- http://marc.info/?l=bugtraq&m=133469208622507&w=2
- http://secunia.com/advisories/42410
- http://secunia.com/advisories/42812
- http://sirdarckcat.blogspot.com/2009/10/couple-of-unicode-issues-on-php-and.html
- http://support.apple.com/kb/HT4581
- http://svn.php.net/viewvc?view=revision&revision=304959
- http://us2.php.net/manual/en/function.utf8-decode.php#83935
- http://www.acunetix.com/blog/web-security-articles/security-risks-associated-with-utf8_decode/
- http://www.blackhat.com/presentations/bh-usa-09/VELANAVA/BHUSA09-VelaNava-FavoriteXSS-SLIDES.pdf
- http://www.mandriva.com/en/security/advisories?name=MDVSA-2010%3A224
- http://www.openwall.com/lists/oss-security/2010/11/02/1
- http://www.openwall.com/lists/oss-security/2010/11/02/11
- http://www.openwall.com/lists/oss-security/2010/11/02/2
- http://www.openwall.com/lists/oss-security/2010/11/02/4
- http://www.openwall.com/lists/oss-security/2010/11/02/6
- http://www.openwall.com/lists/oss-security/2010/11/02/8
- http://www.openwall.com/lists/oss-security/2010/11/03/1
- http://www.php.net/ChangeLog-5.php
- http://www.redhat.com/support/errata/RHSA-2010-0919.html
- http://www.redhat.com/support/errata/RHSA-2011-0195.html
- http://www.securityfocus.com/bid/44605
- http://www.securitytracker.com/id?1024797=
- http://www.ubuntu.com/usn/USN-1042-1
- http://www.vupen.com/english/advisories/2010/3081
- http://www.vupen.com/english/advisories/2011/0020
- http://www.vupen.com/english/advisories/2011/0021
- http://www.vupen.com/english/advisories/2011/0077
- http://bugs.php.net/bug.php?id=48230
- http://bugs.php.net/bug.php?id=49687
- http://lists.apple.com/archives/security-announce/2011/Mar/msg00006.html
- http://lists.fedoraproject.org/pipermail/package-announce/2011-January/052836.html
- http://lists.fedoraproject.org/pipermail/package-announce/2011-January/052845.html
- http://lists.opensuse.org/opensuse-security-announce/2010-12/msg00000.html
- http://marc.info/?l=bugtraq&m=133469208622507&w=2
- http://marc.info/?l=bugtraq&m=133469208622507&w=2
- http://secunia.com/advisories/42410
- http://secunia.com/advisories/42812
- http://sirdarckcat.blogspot.com/2009/10/couple-of-unicode-issues-on-php-and.html
- http://support.apple.com/kb/HT4581
- http://svn.php.net/viewvc?view=revision&revision=304959
- http://us2.php.net/manual/en/function.utf8-decode.php#83935
- http://www.acunetix.com/blog/web-security-articles/security-risks-associated-with-utf8_decode/
- http://www.blackhat.com/presentations/bh-usa-09/VELANAVA/BHUSA09-VelaNava-FavoriteXSS-SLIDES.pdf
- http://www.mandriva.com/en/security/advisories?name=MDVSA-2010%3A224
- http://www.openwall.com/lists/oss-security/2010/11/02/1
- http://www.openwall.com/lists/oss-security/2010/11/02/11
- http://www.openwall.com/lists/oss-security/2010/11/02/2
- http://www.openwall.com/lists/oss-security/2010/11/02/4
- http://www.openwall.com/lists/oss-security/2010/11/02/6
- http://www.openwall.com/lists/oss-security/2010/11/02/8
- http://www.openwall.com/lists/oss-security/2010/11/03/1
- http://www.php.net/ChangeLog-5.php
- http://www.redhat.com/support/errata/RHSA-2010-0919.html
- http://www.redhat.com/support/errata/RHSA-2011-0195.html
- http://www.securityfocus.com/bid/44605
- http://www.securitytracker.com/id?1024797=
- http://www.ubuntu.com/usn/USN-1042-1
- http://www.vupen.com/english/advisories/2010/3081
- http://www.vupen.com/english/advisories/2011/0020
- http://www.vupen.com/english/advisories/2011/0021
- http://www.vupen.com/english/advisories/2011/0077