CVE-2017-18078
systemd-tmpfiles in systemd before 237 attempts to support ownership/permission changes on hardlinked files even if the fs.protected_hardlinks sysctl is turned…
Öffentlicher Exploit-Code
Für diese Schwachstelle wurde funktionierender Exploit- oder Proof-of-Concept-Code veröffentlicht. Betrachte ungepatchte Systeme als gefährdet.
- systemd (systemd-tmpfiles) < 236 - 'fs.protected_hardlinks=0' Local Privilege Escalation2018-01-29 · local · linux
Auswirkung
systemd-tmpfiles in systemd before 237 attempts to support ownership/permission changes on hardlinked files even if the fs.protected_hardlinks sysctl is turned off, which allows local users to bypass intended access restrictions via vectors involving a hard link to a file for which the user lacks write access, as demonstrated by changing the ownership of the /etc/passwd file.
Ein Angreifer kann die Lücke mit lokalem Zugriff auf das System ausnutzen, mit einem normalen Benutzerkonto, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden, hohes Risiko für Ausfälle.
Betroffene Produkte
| Hersteller | Produkt | Betroffene Versionen |
|---|---|---|
| Debian | Debian Linux | Version 8.0 |
| Opensuse | Leap | Version 42.3 |
| Systemd Project | Systemd | vor 237 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- http://lists.opensuse.org/opensuse-updates/2018-02/msg00109.html
- http://packetstormsecurity.com/files/146184/systemd-Local-Privilege-Escalation.html
- http://www.openwall.com/lists/oss-security/2018/01/29/3
- https://github.com/systemd/systemd/issues/7736
- https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E
- https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E
- https://lists.debian.org/debian-lts-announce/2019/04/msg00022.html
- https://www.exploit-db.com/exploits/43935/
- https://www.openwall.com/lists/oss-security/2018/01/29/4
- http://lists.opensuse.org/opensuse-updates/2018-02/msg00109.html
- http://packetstormsecurity.com/files/146184/systemd-Local-Privilege-Escalation.html
- http://www.openwall.com/lists/oss-security/2018/01/29/3
- https://github.com/systemd/systemd/issues/7736
- https://lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E
- https://lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E
- https://lists.debian.org/debian-lts-announce/2019/04/msg00022.html
- https://www.exploit-db.com/exploits/43935/
- https://www.openwall.com/lists/oss-security/2018/01/29/4