CVE-2026-78553
Beschrijving NL
RansomLook heeft de Flask-sessieondertekeningssleutel gemaakt zonder de bestandsmachtigingen expliciet te beperken. Het bestand secret_key is gemaakt met de standaardmachtigingen en umask van het proces, wat resulteert in machtigingen zoals 0644 onder een algemeen 022 umask. Bijgevolg kunnen andere lokale gebruikers die toegang hebben tot de RansomLook-homemap het cryptografische geheim van de applicatie lezen. De blootgestelde sleutel is van cruciaal belang voor de beveiliging, omdat deze wordt gebruikt om Flask-sessiecookies te ondertekenen en ook betrokken is bij de afleiding van de verouderde API-sleutel. Een aanvaller die de sleutel verkrijgt, kan geldige sessiecookies genereren en zich voordoen als een geverifieerde gebruiker, inclusief een beheerder. In LDAP-configuraties kan exploitatie bijzonder eenvoudig zijn omdat de sessiegebruikerlader niet vereist dat de opgegeven gebruikersnaam overeenkomt met een bestaande lokale gebruiker. Succesvolle exploitatie vereist lokale toegang die voldoende is om het onjuist beveiligde bestand te lezen, maar kan resulteren in een volledige aantasting van de authenticatie- en autorisatiecontroles van RansomLook. De patch maakt nieuwe geheime sleutelbestanden atomisch met machtigingen 0600 en beperkt ook de machtigingen voor bestaande sleutelbestanden tijdens het opstarten van de applicatie.
Origineel (Engels) tonen
RansomLook created its Flask session-signing key without explicitly restricting the file permissions. The secret_key file was created using the process's default permissions and umask, resulting in permissions such as 0644 under a common 022 umask. Consequently, other local users able to access the RansomLook home directory could read the application's cryptographic secret.
The exposed key is security-critical because it is used to sign Flask session cookies and is also involved in the legacy API-key key derivation. An attacker who obtains the key can generate valid session cookies and impersonate an authenticated user, including an administrator. In LDAP configurations, exploitation may be particularly straightforward because the session user loader does not require the supplied username to correspond to an existing local user.
Successful exploitation requires local access sufficient to read the improperly protected file, but can result in complete compromise of RansomLook's authentication and authorization controls.
The patch creates new secret-key files atomically with permissions 0600 and also restricts permissions on existing key files during application startup.