Home page logo

fulldisclosure logo Full Disclosure mailing list archives

Re: Cookie stealing and XSS vulnerable in Zenphoto version
From: Malte Müller <info () maltem de>
Date: Tue, 9 Oct 2012 18:44:21 +0200

Hi Scott,

thanks, we always appreciate notes about unfixed issues. We did fix the actual issue reported in the function 
printPublishIconLink() last time:
Sanitize the $_GET super global on lines 1637 through 1641 in
zenpage-admin-functions.php file
We also fixed a few other similar finds in This one is the same issue type indeed but a different find 
actually we probably somehow missed searching.

Please try the current trunk nightly build and let us know if you find any more issues. The actual official fix will 
probably have to wait until the next bugfix release beginning November. Note that our chief developer Stephen - I 
copied him on this mail - is currently unavailable until some time next week.

Best regards,
Malte Müller (acrylian)
Zenphoto team

Am 08.10.2012 um 21:52 schrieb Scott Herbert:

Well chalk this one up to another learning experience for a novice bug
hunter, I took the vendors word that it was fixed and didn't check myself.

I've BCC'ed in my contact with zenphoto, so they are aware.

And to my knowledge this issue doesn't currently have a CVE.


-----Original Message-----
From: Henri Salo [mailto:henri () nerv fi]
Sent: 08 October 2012 15:42
To: Scott Herbert; security () zenphoto org
Cc: full-disclosure () lists grok org uk
Subject: Re: [Full-disclosure] Cookie stealing and XSS vulnerable in

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
used to generate a XSS attack or more seriously, as a admin user need to
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

Hello list,

Zenphoto (tar.gz 3fe44951e33e726d2bba229880885075) is still
affected by this vulnerability. Please notice "OSVDB is not aware of a
for this vulnerability. The original disclosure states that the vendor
claimed to
have fixed this issue in version, but Secunia has confirmed it to
still be
vulnerable." from http://osvdb.org/85899 and I verified this manually.
this vulnerability have CVE-identifier?

- 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 ]