Ilja van Sprundel reported a vulnerability in the passwd application of shadow, which potentially can be exploited by malicious, local users to perform certain actions with escalated privileges.
The vulnerability is due to missing checks in passwd for whether the "setuid()" call has succeeded, when started with the -f, -g, or -s option. This can potentially be exploited to launch chfn, chsh, or gpasswd with root privileges, which may allow the user to perform certain actions as the root user.
Successful exploitation allows to perform certain actions with escalated privileges, but requires that PAM is configured with a maximum number of user processes.
This vulnerability was reported in version 4.0.3 and 4.0.13. Prior versions may be also affected.
Do you have additional information related to this advisory?
Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this
information to firstname.lastname@example.org
Subject: shadow setuid Vulnerability
No posts yet
You must be logged in to post a comment.
Secunia Customer Login
Not a customer already?
Learn more about how our market leading Vulnerability Management solutions can help you manage risk and ensure compliance.