

APT Group Turla – Active IOCs
July 8, 2024
Multiple IBM Products Vulnerabilities
July 8, 2024
APT Group Turla – Active IOCs
July 8, 2024
Multiple IBM Products Vulnerabilities
July 8, 2024Severity
High
Analysis Summary
The Gogs open-source, self-hosted Git service has four unpatched vulnerabilities, three of which are significant. These vulnerabilities might allow an authenticated attacker to compromise vulnerable instances, steal or delete source code, or even install backdoors.
As per the findings of researchers, the vulnerabilities are CVE-2024-39930 (CVSS score: 9.9), CVE-2024-39931 (CVSS score: 9.9), CVE-2024-39932 (CVSS score: 9.9), and CVE-2024-39933 (CVSS score: 7.7). If the first three vulnerabilities are successfully exploited, an attacker could be able to run arbitrary commands on the Gogs server. The fourth vulnerability, on the other hand, lets attackers read arbitrary files, including configuration secrets and source code.
Stated differently, a threat actor might target internal hosts that are accessible from the Gogs server, read the instance's source code, alter or remove any code, assume the identity of another user, and escalate their privileges by abusing the vulnerabilities. Having said that, authentication is a prerequisite for all four vulnerabilities. Moreover, the threat actor must have a valid SSH private key, the version of the env binary being used, and the built-in SSH server activated to trigger CVE-2024-39930.
The attacker only has to register their SSH key and create an account if the Gogs instance allows registration. If not, they would need to obtain a user's SSH private key or breach another account. Both the Docker image and Gogs instances running on Windows are not vulnerable. Nevertheless, because the env binary includes the "--split-string" option, users of Ubuntu and Debian are at risk.

About 60% of the 7,300 Gogs instances that are publicly accessible online are situated in China, followed by the United States, Germany, Russia, and Hong Kong, according to data. How many of these unprotected servers are susceptible to the aforementioned vulnerabilities is unknown at this time. According to the experts, it is impossible to tell if these problems are being exploited in the field.
The researchers also noted that after accepting its initial report on April 28, 2023, the project maintainers ceased to communicate and failed to apply changes. Users are advised to disable the integrated SSH server, block user registration to stop widespread exploitation, and think about moving to Gitea in case a patch is not released.
Impact
- Identity Theft
- Privilege Escalation
- Data Manipulation
- Command Execution
Indicators of Compromise
CVE
- CVE-2024-39930
- CVE-2024-39931
- CVE-2024-39932
- CVE-2024-39933
Affected Vendors
Remediation
- Disable the integrated SSH server, block user registration to stop widespread exploitation, and think about moving to Gitea in case a patch is not released.
- Organizations must test their assets for the vulnerability mentioned above and apply the available security patch or mitigation steps as soon as possible.
- Implement multi-factor authentication to add an extra layer of security to login processes.
- Regularly monitor network activity for any unusual behavior, as this may indicate that a cyberattack is underway.
- Organizations must stay vigilant and follow best practices for cybersecurity to protect their systems and data from potential threats. This includes regularly updating software and implementing strong access controls and monitoring tools.
- Develop a comprehensive incident response plan to respond effectively in case of a security breach or data leakage.
- Maintain regular backups of critical data and systems to ensure data recovery in case of a security incident.
- Adhere to security best practices, including the principle of least privilege, and ensure that users and applications have only the necessary permissions.
- Establish a robust patch management process to ensure that security patches are evaluated, tested, and applied promptly.
- Conduct security audits and assessments to evaluate the overall security posture of your systems and networks.
- Implement network segmentation to contain and isolate potential threats to limit their impact on critical systems.