seffaflik Symlink Attack Vulnerability Allowing Arbitrary File Overwrite and Insecure Permissions

Vulnerability

A vulnerability in the seffaflik package, affecting versions through 0.0.9, allows for symlink attacks due to improper default permissions assigned to the .kimlik and .seffaflik files. The .kimlik file is created with mode 0777, and the .seffaflik file with mode 0775, exposing sensitive information to other local users. Furthermore, the .kimlik file is written without symlink validation, enabling local attackers to overwrite arbitrary files. This vulnerability could lead to information disclosure and denial-of-service conditions.

Impact

Exploitation of this vulnerability exposes secrets in the .kimlik file to other local users, potentially leading to unauthorized access or misuse of sensitive information. The arbitrary file overwrite capability allows for corruption of system files or disruption of application processes, causing a denial-of-service effect.

Remediation

Users can manually adjust the permissions of the .seffaflik directory and the .kimlik file to restrict access. Additionally, it is advisable to avoid using the seffaflik package on multi-user systems.

Added: Oct 22, 2025, 2:17 PM
Updated: Oct 22, 2025, 2:17 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
7.5
exploitability
4.6
remediation
0.0
relevance
0.8
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.