Information
--------------------
Advisory by Netsparker (now Invicti)
Name: SQL Injection Vulnerability in TestLink 1.9.13
Affected Software: TestLink
Affected Versions: 1.9.1.3 and possibly below
Vendor Homepage: http://testlink.org/ 
Vulnerability Type: SQL Injection
Severity: Critical
Status: Fixed
CVE-ID: CVE-2015-7390
Invicti Advisory Reference: NS-15-015

Description
--------------------
If your web application is vulnerable to SQL injection, a hacker is able to execute any malicious SQL query or command through the web application.

Technical Details
--------------------
Proof of Concept URLs for SQL Injection vulnerability in TestLink:

Page: lnl.php
Parameter Name: apikey
Parameter Type: GET
Attack Pattern: '+(SELECT 1 FROM (SELECT SLEEP(25))A)+'

For more information on SQL Injection vulnerabilities read the article SQL Injection.

Advisory Timeline
--------------------
15/09/2015 - First Contact
02/10/2015 - Vendor Fixed
05/10/2015 - Advisory Released

Solution
--------------------
https://github.com/TestLinkOpenSourceTRMS/testlink-code/releases/tag/1.9.14 

Credits & Authors
--------------------
These issues have been discovered by Omar Kurt while testing Invicti Web Application Security Scanner.

About Invicti
--------------------
Invicti Security is transforming the way web applications are secured. Invicti empowers organizations in every industry to scale their overall security operations, make the best use of their security resources, and engage developers in helping to improve their overall security posture.