Bonsai Information Security - Advisory
SQL Injection in Achievo
1. *Advisory Information*
Title: SQL Injection in Achievo
Advisory ID: BONSAI-2009-0102
Advisory URL: http://www.bonsai-sec.com/research/vulnerabilities/achievo-sq=
Date published: 2009-10-13
Vendors contacted: Achievo
Release mode: Coordinated release
2. *Vulnerability Information*
Class: SQL Injection
Remotely Exploitable: Yes
Locally Exploitable: Yes
CVE Name: CVE-2009-2734
3. *Software Description*
Achievo is a flexible web-based resource management tool for business
environments. Achievos resource management capabilities will enable
organizations to support their business processes in a simple, but effectiv=
4. *Vulnerability Description*
SQL injection is a code injection technique that exploits a security
vulnerability occurring in the database layer of an application. The
vulnerability is present when user input is either incorrectly filtered for
string literal escape characters embedded in SQL statements or user input
is not strongly typed and thereby unexpectedly executed.
For additional information, please look at the references  and .
5. *Vulnerable packages*
Version <=3D 1.3.4
6. *Non-vulnerable packages*
Achievo developers informed us that all users should upgrade to the latest
version of Achievo, which fixes this vulnerability. More information to be
This vulnerability was discovered by Ryan Dewhurst ( ryan -at- bonsai-sec.c=
8. *Technical Description*
A SQL injection vulnerability was found in the dispatch.php script, more
specifically in the $user_id variable. The vulnerability can be triggered b=
logging into Achievo and browsing to:
Which will generate a syntax error in the database. The following is
the corresponding piece of code:
$db =3D &atkGetDb();
$sql =3D "SELECT * FROM person WHERE status=3Dactive AND id=3D$user_=
$record =3D $db->getrows($sql);
9. *Report Timeline*
Vulnerabilities were identified.
Vendor confirmed vulnerabilities.
Vendor sets possible release date of fixed version to Monday 12 Oct.
Vendor released fixed version.
The advisory BONSAI-2009-0101 is published.
11. *About Bonsai*
Bonsai is a company involved in providing professional computer
information security services.
Currently a sound growth company, since its foundation in early 2009
in Buenos Aires, Argentina,
we are fully committed to quality service, and focused on our
customers real needs.
The contents of this advisory are copyright (c) 2009 Bonsai
Information Security, and may be
distributed freely provided that no fee is charged for this
distribution and proper credit is