Pi-holeに権限の低いユーザーからroot所有のファイルを改ざんされる脆弱性
Summary
Pi-holeの6.4.2から6.5までの版には、rootで動くupdatecheck.shの定期実行で、シンボリックリンクをたどってroot所有の任意のファイルを空にされたり権限を変えられたりする脆弱性があります。CVSSは7.8です。修正版は6.5で、6.5以降にアップデートしてください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Pi-holeの6.4.2から6.5までの版には、rootで動くupdatecheck.shの定期実行で、シンボリックリンクをたどってroot所有の任意のファイルを空にされたり権限を変えられたりする脆弱性があります。CVSSは7.8です。修正版は6.5で、6.5以降にアップデートしてください。
Original description The description as published by the source.
Pi-hole is a DNS sinkhole that protects devices from unwanted content without installing any client-side software. From 6.4.2 until 6.5, the root-run advanced/Scripts/updatecheck.sh cron job applies truncate -s 0 and chmod 644 to /etc/pihole/versions while following symbolic links in a directory owned by the pihole user. An attacker executing as pihole can replace that path with a symlink so the scheduled root operations truncate or create an arbitrary root-owned file, or race the operations so chmod makes a sensitive target world-readable without truncating it. This issue is fixed in version 6.5.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- web github.com