PT-2012-33: Multiple vulnerabilities in Sanuel Family
Version: 11.1.0 and earlier
Severity level: High
Impact: SQL Command Injection, Information Disclosure
Access Vector: Remote
Base Score: 10
CVE: not assigned
Sanuel Family is a software used for personal accounting. The program allows you to carry on family finances, fiscal accounting for small businesses, and also make analysis and accounting of your investments. Family Mobile application synchronizes data from mobile and personal computers.
The specialists of the Positive Research center have detected multiple vulnerabilities in Sanuel Family.
The vulnerabilities are detected in the data exchange protocol used between mobile and desktop applications and synchronization server. An attacker can get credentials used to store data on synchronization server, and also replace SQL queries or inject code into XML data that means that user data can be copied, modified or deleted, and synchronization server can be compromised.
Database user credentials and queries: login, password hash, database name together with SQL queries are sent in clear text via an unencrypted channel. As traffic is intercepted, an attacker is able to get the data in a clear text or modify it.
Data from package analyzer:
Data check and download
select u_id from users where u_login='HERE_WAS_MY_LOGIN'\r\n
SHOW TABLES FROM b25764_family LIKE 'users'
SHOW COLUMNS FROM b25764_family.users LIKE '%'
Set NAMES cp1251\r\n
select tr_account,tr_cat,tr_tag,tr_payee,tr_dat,tr_sum,tr_comment,ac_name,ac_currency from transactions left join accounts on transactions.tr_account=accounts.ac_account where transactions.user_id=3293 and accounts.u
SHOW TABLES FROM b25764_family LIKE 'transactions'
SHOW COLUMNS FROM b25764_family.transactions LIKE '%'
How to fix
27.08.2012 - Vendor is notified
27.08.2012 - Vendor gets vulnerability details
26.09.2012 - Vulnerability details were sent to CERT
03.10.2012 - Public disclosure
The vulnerability has discovered by Denis Gorchakov, Positive Research Center (Positive Technologies Company)
Reports on the vulnerabilities previously discovered by Positive Research: