Home page logo

fulldisclosure logo Full Disclosure mailing list archives

Re: Cookie stealing and XSS vulnerable in Zenphoto version
From: Henri Salo <henri () nerv fi>
Date: Thu, 11 Oct 2012 20:27:49 +0300

On Tue, Oct 02, 2012 at 07:16:11AM +0100, Scott Herbert wrote:
Affected products:

Product :             Zenphoto (and maybe older) fixed in
Affected function:    printPublishIconLink


The file admin-news-articles.php calls the function printPublishIconLink
which generates HTML from data stored in the $_GET super global, this can be
used to generate a XSS attack or more seriously, as a admin user need to be
logged in to access the page admin-news-articles.php, a cookie stealing

Example code:

Suggested fix:

Sanitize the $_GET super global on lines 1637 through 1641 in
zenpage-admin-functions.php file


12-Sept-2012  Zenphoto and UK-CERT informed
18-Sept-2012 Zenphoto confirmed and fixed (see
1-Oct-2012 Zenphoto released fixing hole.

Scott Herbert Cert Web Apps (Open)
Twitter @Scott_Herbert

Identifier CVE-2012-4519 has been assigned for this issue http://www.openwall.com/lists/oss-security/2012/10/11/4

- Henri Salo

Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]