PT-2012-33: Multiple vulnerabilities in Sanuel Family
Vulnerable software
Sanuel Family
Version: 11.1.0 and earlier
Link:
http://www.sanuel.com/ru/family/
https://play.google.com/store/apps/details?id=com.familymobile
Severity level
Severity level: High
Impact: SQL Command Injection, Information Disclosure
Access Vector: Remote
CVSS v2:
Base Score: 10
Vector: (AV:N/AC:L/Au:N/C:C/I:C/A:C)
CVE: not assigned
Software description
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.
Vulnerability description
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:
host: 78.108.89.191
user: family_user
base: b25764_family
pwd_hash: 6e279eaabccc3ef3e22872e1ab3fe571c7568e97
---------------------------
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
No solution
Advisory status
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
Credits
The vulnerability has discovered by Denis Gorchakov, Positive Research Center (Positive Technologies Company)
References
http://en.securitylab.ru/lab/PT-2012-33
Reports on the vulnerabilities previously discovered by Positive Research:
http://ptsecurity.com/research/advisory/
http://en.securitylab.ru/lab/