Vulnerabilities > CVE-2023-34362 - SQL Injection vulnerability in Progress Moveit Cloud and Moveit Transfer
Summary
In Progress MOVEit Transfer before 2021.0.6 (13.0.6), 2021.1.4 (13.1.4), 2022.0.4 (14.0.4), 2022.1.5 (14.1.5), and 2023.0.1 (15.0.1), a SQL injection vulnerability has been found in the MOVEit Transfer web application that could allow an unauthenticated attacker to gain access to MOVEit Transfer's database. Depending on the database engine being used (MySQL, Microsoft SQL Server, or Azure SQL), an attacker may be able to infer information about the structure and contents of the database, and execute SQL statements that alter or delete database elements. NOTE: this is exploited in the wild in May and June 2023; exploitation of unpatched systems can occur via HTTP or HTTPS. All versions (e.g., 2020.0 and 2019x) before the five explicitly mentioned versions are affected, including older unsupported versions.
Vulnerable Configurations
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Command Line Execution through SQL Injection An attacker uses standard SQL injection methods to inject data into the command line for execution. This could be done directly through misuse of directives such as MSSQL_xp_cmdshell or indirectly through injection of data into the database that would be interpreted as shell commands. Sometime later, an unscrupulous backend application (or could be part of the functionality of the same application) fetches the injected data stored in the database and uses this data as command line arguments without performing proper validation. The malicious data escapes that data plane by spawning new commands to be executed on the host.
- Object Relational Mapping Injection An attacker leverages a weakness present in the database access layer code generated with an Object Relational Mapping (ORM) tool or a weakness in the way that a developer used a persistence framework to inject his or her own SQL commands to be executed against the underlying database. The attack here is similar to plain SQL injection, except that the application does not use JDBC to directly talk to the database, but instead it uses a data access layer generated by an ORM tool or framework (e.g. Hibernate). While most of the time code generated by an ORM tool contains safe access methods that are immune to SQL injection, sometimes either due to some weakness in the generated code or due to the fact that the developer failed to use the generated access methods properly, SQL injection is still possible.
- SQL Injection through SOAP Parameter Tampering An attacker modifies the parameters of the SOAP message that is sent from the service consumer to the service provider to initiate a SQL injection attack. On the service provider side, the SOAP message is parsed and parameters are not properly validated before being used to access a database in a way that does not use parameter binding, thus enabling the attacker to control the structure of the executed SQL query. This pattern describes a SQL injection attack with the delivery mechanism being a SOAP message.
- Expanding Control over the Operating System from the Database An attacker is able to leverage access gained to the database to read / write data to the file system, compromise the operating system, create a tunnel for accessing the host machine, and use this access to potentially attack other machines on the same network as the database machine. Traditionally SQL injections attacks are viewed as a way to gain unauthorized read access to the data stored in the database, modify the data in the database, delete the data, etc. However, almost every data base management system (DBMS) system includes facilities that if compromised allow an attacker complete access to the file system, operating system, and full access to the host running the database. The attacker can then use this privileged access to launch subsequent attacks. These facilities include dropping into a command shell, creating user defined functions that can call system level libraries present on the host machine, stored procedures, etc.
- SQL Injection This attack exploits target software that constructs SQL statements based on user input. An attacker crafts input strings so that when the target software constructs SQL statements based on the input, the resulting SQL statement performs actions other than those the application intended. SQL Injection results from failure of the application to appropriately validate input. When specially crafted user-controlled input consisting of SQL syntax is used without proper validation as part of SQL queries, it is possible to glean information from the database in ways not envisaged during application design. Depending upon the database and the design of the application, it may also be possible to leverage injection to have the database execute system-related commands of the attackers' choice. SQL Injection enables an attacker to talk directly to the database, thus bypassing the application completely. Successful injection can cause information disclosure as well as ability to add or modify data in the database. In order to successfully inject SQL and retrieve information from a database, an attacker:
Related news
- Microsoft links Clop ransomware gang to MOVEit data-theft attacks (source)
- Microsoft: Lace Tempest Hackers Behind Active Exploitation of MOVEit Transfer App (source)
- MOVEit Transfer zero-day was exploited by Cl0p gang (CVE-2023-34362) (source)
- MOVEit zero-day exploit used by data breach gangs: The how, the why, and what to do… (source)
- MOVEit Transfer hack fallout: BBC, Aer Lingus, Boots among the victims (source)
- Zero-day MOVEit Transfer vulnerability exploited in the wild, heavily targeting North America (source)
- Clop Ransomware Gang Likely Exploiting MOVEit Transfer Vulnerability Since 2021 (source)
- Clop Ransomware Gang Likely Aware of MOVEit Transfer Vulnerability Since 2021 (source)
- Clop ransomware likely exploiting MOVEit zero-day since 2021 (source)
- Clop ransomware likely testing MOVEit zero-day since 2021 (source)
- New MOVEit Transfer critical flaws found after security audit, patch now (source)
- It’s time to patch your MOVEit Transfer solution again! (source)
- Exploit released for MOVEit RCE bug used in data theft attacks (source)
- UK telco watchdog Ofcom, Minnesota Dept of Ed named as latest MOVEit victims (source)
- PoC exploit for exploited MOVEit vulnerability released (CVE-2023-34362) (source)
- Third Flaw Uncovered in MOVEit Transfer App Amidst Cl0p Ransomware Mass Attack (source)
- Third MOVEit bug fixed a day after PoC exploit made public (source)
- Week in review: Fortinet patches pre-auth RCE, Switzerland under cyberattack (source)
- A third MOVEit vulnerability fixed, Cl0p lists victim organizations (CVE-2023-35708) (source)
- S3 Ep140: So you think you know ransomware? (source)
- Hackers steal data of 45,000 New York City students in MOVEit breach (source)
- Siemens Energy confirms data breach after MOVEit data-theft attack (source)
- Shutterfly says Clop ransomware attack did not impact customer data (source)
- Deloitte and Chuck E. Cheese join 500+ orgs as MOVEit victims (source)