TurboMeeting: Boolean-based SQL Injection
Summary
A Boolean-based SQL injection vulnerability in the "RHUB TurboMeeting" web application. This vulnerability could allow an attacker to execute arbitrary SQL commands on the database server, potentially allowing them to access sensitive data or compromise the server. Exploitation of this vulnerability, along with “[Insecure Password Reset Mechanism](https://github.com/google/security-research/security/advisories/GHSA-c84v-4pjw-4mh2)” and “[Command Injection in Certificate Signing Request](https://github.com/google/security-research/security/advisories/GHSA-gx6g-8mvx-3q5c)”, allowed Mandiant to authenticate to the web application as the “admin” user and obtain remote command execution as “root”.
Severity
High - An attacker could gain access to sensitive information, modification or deletion of data, disruption of database operations, access to the underlying operating system.
Proof of Concept
The application was removing the semicolon, dash, underscore, and space characters. If present within the meeting_id parameter's value before adding them to the SQLite query. As spaces were essential to the injection, we developed an exploitation proof-of-concept (PoC) script in Python, which allowed the retrieval of the admin user's SHA1 hashed password by a series of Boolean-based database queries. The script automates the extraction of the password through this...
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| TurboMeeting Product | < None | None |
Details and references
### Summary A Boolean-based SQL injection vulnerability in the "RHUB TurboMeeting" web application. This vulnerability could allow an attacker to execute arbitrary SQL commands on the database server, potentially allowing them to access sensitive data or compromise the server. Exploitation of this vulnerability, along with “[Insecure Password Reset Mechanism](https://github.com/google/security-research/security/advisories/GHSA-c84v-4pjw-4mh2)” and “[Command Injection in Certificate Signing Request](https://github.com/google/security-research/security/advisories/GHSA-gx6g-8mvx-3q5c)”, allowed Mandiant to authenticate to the web application as the “admin” user and obtain remote command execution as “root”. ### Severity High - An attacker could gain access to sensitive information, modification or deletion of data, disruption of database operations, access to the underlying operating system. ### Proof of Concept The application was removing the semicolon, dash, underscore, and space characters. If present within the meeting_id parameter's value before adding them to the SQLite query. As spaces were essential to the injection, we developed an exploitation proof-of-concept (PoC) script in Python, which allowed the retrieval of the admin user's SHA1 hashed password by a series of Boolean-based database queries. The script automates the extraction of the password through this injection query: ``` 1'/**/OR/**/1=2/**/UNION/**/select/**/password/**/from/**/employee/**/where/**/email='admin'/**/AND/**/substr(password,{i},1)='{char}'/** ``` This allows the retrieval of the password hash of the admin user, character by character. Endpoint: `http://HOST/as/wapi/vmp` POST request with `meeting_id=$SQLi` parameter ### Further Analysis To address this vulnerability, the application's code should be modified to properly sanitize all user-supplied input before using it in SQL queries. This can be achieved by using prepared statements with parameterized queries, or by using appropriate escaping functions to ensure that special characters in user input are treated as literal values rather than SQL commands. ### Timeline **Date reported**: 4/17/2024 **Date fixed**: **Date disclosed**: 7/24/2024
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-89