Skip to content

Hacked config.sh content replaced with code for remote software execution

High
EricClaeys published GHSA-74xh-xgm7-gqgj Sep 13, 2024

Package

config.sh (allsky)

Affected versions

v2023.05.01_03

Patched versions

None

Description

Summary

Starting on Sep 7th, 2024 at 00:00 UTC our AllSky installation (version v2023.05.01_03) stopped working. Checking it out, we have found a strange config.sh file with some Base64 content, decoding it appears to be a script to download and execute software from a remote server.

Details

The malicious content has appeared in config.sh, with a suspicious header:

### IMPORTANT ALLSKY LINE, DO NOT REMOVE!

PoC

Content of ~/allsky/config/config.sh:
WhatsApp Image 2024-09-11 at 17 30 48

Decoded content:
WhatsApp Image 2024-09-11 at 17 31 26

Impact

We do not know the effect of the execution of the remote software.

Severity

High

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
Low

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L

CVE ID

No known CVE

Weaknesses

No CWEs

Credits