Becoming Root Via a Misconfigured PATH thumbnail
Becoming Root Via a Misconfigured PATH
betterprogramming.pub
They could plant this malicious script in a publicly writable directory, like the /tmp directory, and name it ls. Now when the admin user executes the ls command, the /tmp directory, they will have executed this script instead of the actual /bin/ls binary:
1 Users
0 Comments
1 Highlights
0 Notes

Top Highlights

  • They could plant this malicious script in a publicly writable directory, like the /tmp directory, and name it ls. Now when the admin user executes the ls command, the /tmp directory, they will have executed this script instead of the actual /bin/ls binary:

Ready to highlight and find good content?

Glasp is a social web highlighter that people can highlight and organize quotes and thoughts from the web, and access other like-minded people’s learning.