Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: password hack ?  (Read 6113 times)

0 Members and 1 Guest are viewing this topic.

bean

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
password hack ?
« on: July 19, 2004, 11:39:03 am »

Hi
Just installed Coppermine and just 2 days after someone mailed me my username and password for the admin login !?!?!?!
Is there a security risk in the script or do I have set something wrong? I need to find the security hole or I have to find another gallery.
Can somebody help ?
http://www.butts.dk/forum/files/thumbs/gallery/index.php
Logged

Tarique Sani

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
Re: password hack ?
« Reply #1 on: July 19, 2004, 11:50:15 am »

1) Who was it - someone who knows you?
2) What other PHP programs are you running on your server - is anyone of them vulnerable
3) Yes Coppermine stores username and passwords in MySQL DB but we are not currently aware of any Coppermine exploits which will reveal username password
« Last Edit: July 19, 2004, 11:55:21 am by Tarique Sani »
Logged
SANIsoft PHP applications for E Biz

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: password hack ?
« Reply #2 on: July 19, 2004, 11:51:43 am »

There's no exploit for coppermine standalone as far as I know, but the hack could have come from other places as well: if an intruder manages to gain access to your database (e.g. if you have installed phpMyAdmin or similar and not password protected the whole phpMaAdmin folder), your website is broken, and all passwords are available for him. Another attack variant that is possible is the classic "man in the middle" or some trojan on your pc (keybaord-logging). If your account data are trivial, as brute force attack might be plausible as well. Consult your webserver logs on this issue.
Since there are various places where the attacker might have succeeded breaking into your webserver without coppermine core code being the culprit necessarily, it's hard to advise anything. Please provide more details on the email you received that contained your login data.

The reason that there are no known security holes in coppermine standalone doesn't mean that there actually are none, but it's very likely that other methods were used. I'm not trying to block your question by saying "that's impossible" - there could always be some hidden security flaw. Please post additional information.

GauGau
Logged

bean

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: password hack ?
« Reply #3 on: July 19, 2004, 11:56:05 am »

LOL - my mistake !I think. I got the mail in german, so i didn't quite understand it. But it seems some had try to get the password by using the "Forgot you password" script and type my admin name in the box. Then I got this mail about my password and I freaked out :-) I hope that was the case here.
Logged

Tarique Sani

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
Re: password hack ?
« Reply #4 on: July 19, 2004, 11:59:39 am »

Most likely you are not using version 1.3.1 - that mail is supposed to be in the primary language of the site....
Logged
SANIsoft PHP applications for E Biz

bean

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: password hack ?
« Reply #5 on: July 19, 2004, 12:04:48 pm »

Yep, I just tried to use the german language and use the "I forgot my password" script. I got the same mail as before from the gallery telling me my username and password. Phew, you have no idea how much that freaked me out - LOL  ;D
Logged

bean

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: password hack ?
« Reply #6 on: July 19, 2004, 12:09:07 pm »

No, Im using version 1.3 since it says it's the stable one. Is 1.31 just as stable ?
Logged

Tarique Sani

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
Re: password hack ?
« Reply #7 on: July 19, 2004, 12:16:25 pm »

Version 1.3.1 is supposed to be the latest stable release

@Moorey / Gaugau - we really need to update the website :)
Logged
SANIsoft PHP applications for E Biz

bean

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: password hack ?
« Reply #8 on: July 19, 2004, 12:38:13 pm »

Ok thanks. Installed 1.31 now but I still get other language in my mail when people are using another language. The board is set to english.
But not a big problem since I now know what to expect.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: password hack ?
« Reply #9 on: July 19, 2004, 12:39:22 pm »

moorey doesn't react to my mailings - I filed a support request at sf.net, asking them to transfer ownership of the whole page to me. I will update is as soon as they react.

GauGau
Logged

omniscientdeveloper

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 901
Re: password hack ?
« Reply #10 on: July 26, 2004, 02:29:55 am »

This was a problem with ecards too, I think. I solved it by using the cpg_get_default_lang_var() function. This will return the language set in config, unless it's overided like in the fallback file.


-omni
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 16 queries.