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

Coppermine 1.5.40 Weak Cryptography

Coppermine 1.5.40 Weak Cryptography
Posted Feb 28, 2016
Authored by hyp3rlinx | Site hyp3rlinx.altervista.org

Coppermine version 1.5.40 uses straight MD5 without any salt for storage of passwords.

tags | exploit
SHA-256 | 953f240f9074c871c21ff81b9fda483e9b54149b0e8bf9fd3a4ae7b129905d41

Coppermine 1.5.40 Weak Cryptography

Change Mirror Download
[+] Credits: hyp3rlinx

[+] Website: hyp3rlinx.altervista.org

[+] Source:
http://hyp3rlinx.altervista.org/advisories/COPPERMINE-WEAK-CRYPTO.txt



Vendor:
======================
coppermine-gallery.net



Product:
=========================
Coppermine 1.5.40
downloads as cpg1.5.40.zip


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.



Vulnerability Type:
===================
Weak Crypto



Vulnerability Details:
=====================

Coppermine stores users passwords in using weak MD5 hash function without
any salt.

Using weak cryptographic one-way hash functions like MD5 without using salt
for storing user passwords allows attackers
that gain access to this data ability to conduct password cracking attacks
using pre-computed dictionaries, e.g. rainbow tables.
if their local machine is compromised and attackers gain access to the MD5
hashed passwords.

e.g.

e99a18c428cb38d5f260853678922e03 MD5 : abc123


In register.php line 591 we find following md5 one way hash function
applied to users password with no salt whatsoever, then stored in DB.

$encpassword = md5($password);



$user_language = $CONFIG['lang'];


$sql = "INSERT INTO {$CONFIG['TABLE_USERS']} (user_regdate, user_active,
user_actkey, user_name, user_password, user_email, user_profile1,
user_profile2, user_profile3, user_profile4, user_profile5, user_profile6,
user_language) VALUES (NOW(), '$active', '$act_key', '$user_name',
'$encpassword', '$email', '$profile1', '$profile2', '$profile3',
'$profile4', '$profile5', '$profile6', '$user_language')";
$result = cpg_db_query($sql);


Disclosure Date:
================================
Feb 26, 2016 : Public Disclosure


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

[+] Disclaimer
Permission is hereby granted for the redistribution of this advisory,
provided that it is not altered except by reformatting it, and that due
credit is given. Permission is explicitly given for insertion in
vulnerability databases and similar, provided that due credit is given to
the author.
The author is not responsible for any misuse of the information contained
herein and prohibits any malicious use of all security related information
or exploits by the author or elsewhere. All Content is (c) of hyp3rlinx.

hyp3rlinx ™
Login or Register to add favorites

File Archive:

April 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close