lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <200408141441.44157.matias@neiff.com.ar>
Date: Sat, 14 Aug 2004 14:41:42 -0300
From: Matias Neiff <matias@...ff.com.ar>
To: bugtraq@...urityfocus.com
Subject: Posible security bug in phpMyWebhosting


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all.
There is a posible security bug in the phpMyWebhosting
(http://sourceforge.net/projects/phpmywebhosting/)

File: includes/functions/pmwh.php

Function: test

Code:
- ------------------------------------------------------------------------
......
  if ( isset($_POST['password']) && ($_POST['password'] != "")) {
    $query = 'SELECT * FROM customers WHERE customer = "' . $user . '" AND
password = password("' . $_POST['password'] . '")';
    $check_pwd=sql_query($query);
    $num_rows=sql_num_rows($check_pwd);

    if ($num_rows!=1) {
      echo "<center><h2>Wrong Password</h2></center><br>";
      return false;
    } else ........
- ------------------------------------------------------------------------
Proof of concept: try using

usr: admin"-(
pass: "asdfasdf

Cheers.

Matias Neiff
www.root-solutions.com.ar
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBHk7WCRaMUNBLpxsRAiFGAKCx0UsyP7JmhuWgjRoR/xHdrGmbhQCfZ8iz
OfBEoEKU6U0k00XFmad1ENE=
=L1GN
-----END PGP SIGNATURE-----


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ