SB2020040329 - Multiple vulnerabilities in TestLink
Published: April 3, 2020 Updated: August 8, 2020
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 5 secuirty vulnerabilities.
1) Insufficiently protected credentials (CVE-ID: CVE-2020-12273)
The vulnerability allows a remote non-authenticated attacker to gain access to sensitive information.
In TestLink 1.9.20, a crafted login.php viewer parameter exposes cleartext credentials.
2) Input validation error (CVE-ID: CVE-2020-12274)
The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.
In TestLink 1.9.20, the lib/cfields/cfieldsExport.php goback_url parameter causes a security risk because it depends on client input and is not constrained to lib/cfields/cfieldsView.php at the web site associated with the session.
3) SQL injection (CVE-ID: CVE-2020-8637)
The vulnerability allows a remote attacker to execute arbitrary SQL queries in database.
The vulnerability exists due to insufficient sanitization of user-supplied data passed via the node_id parameter. A remote attacker can send a specially crafted request to the affected application and execute arbitrary SQL commands within the application database.
Successful exploitation of this vulnerability may allow a remote attacker to read, delete, modify data in database and gain complete control over the affected application.
4) SQL injection (CVE-ID: CVE-2020-8638)
The vulnerability allows a remote attacker to execute arbitrary SQL queries in database.
The vulnerability exists due to insufficient sanitization of user-supplied data passed via the urgency parameter. A remote attacker can send a specially crafted request to the affected application and execute arbitrary SQL commands within the application database.
Successful exploitation of this vulnerability may allow a remote attacker to read, delete, modify data in database and gain complete control over the affected application.
5) Arbitrary file upload (CVE-ID: CVE-2020-8639)
The vulnerability allows a remote authenticated user to execute arbitrary code.
An unrestricted file upload vulnerability in keywordsImport.php in TestLink 1.9.20 allows remote attackers to execute arbitrary code by uploading a file with an executable extension. This allows an authenticated attacker to upload a malicious file (containing PHP code to execute operating system commands) to a publicly accessible directory of the application.
Remediation
Cybersecurity Help is not aware of any official remediation provided by the vendor.
References
- http://mantis.testlink.org/view.php?id=8895
- https://github.com/TestLinkOpenSourceTRMS/testlink-code/commit/72271ef057e6e4a95c6128973902ea646f7b5462
- http://mantis.testlink.org/view.php?id=8894
- https://github.com/TestLinkOpenSourceTRMS/testlink-code/commit/2d17cd00f981f8e8c97de34a12e368ba2a55e3d0
- https://ackcent.com/blog/testlink-1.9.20-unrestricted-file-upload-and-sql-injection/
- https://github.com/TestLinkOpenSourceTRMS/testlink-code/commit/d99bd8277d384f3417e917ce20bef5d061110343
- https://github.com/TestLinkOpenSourceTRMS/testlink-code/commit/58f3cc03d5f81cd5cc2ad8c7ba645cc486cebc05
- https://github.com/TestLinkOpenSourceTRMS/testlink-code/commit/57d81ae350d569c5c95087997fe051c49e14516d