Google has released the source code of a tool, dubbed PathAuditor, designed to help developers identify vulnerabilities related to file access.
Google decided to release the source code of a tool dubbed PathAuditor designed to help developers identify vulnerabilities related to file access.
PathAuditor has been released by the tech giant as open-source, the company plans to continue to contribute to the development of the tools and with this move aims at involving the security community to improve it. However, it has pointed out that it’s not an officially supported Google product.
“To find issues like this at scale we wrote PathAuditor, a tool that monitors file accesses and logs potential vulnerabilities. PathAuditor is a shared library that can be loaded into processes using LD_PRELOAD. It then hooks all filesystem related libc functions and checks if the access is safe.” reads the post published by Google. “For that, we traverse the path and check if any component could be replaced by an unprivileged user, for example if a directory is user-writable. If we detect such a pattern, we log it to syslog for manual analysis.”
File access vulnerabilities could be exploited by attackers to execute malicious code with elevated privileges, for this reason, Google has released PathAuditor. The tool could be used by developers to detect unsafe path access patterns that could introduce weaknesses.
The tool checks if an unprivileged user could replace a file or directory with a symlink, a scenario that could which can represent a vulnerability.
The source code of the PathAuditor is available on GitHub, the company has also shared an example of a flaw that can be detected with PathAuditor.
“The project is still in the early stages and we are actively working on it. We look forward to hearing about any vulnerabilities you discover with the tool, and hope to see pull requests with further improvements.” concludes Google.
Earlier this year, Google released the ClusterFuzz fuzzing platform that was developed to find memory corruption bugs in the Chrome browser.
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept All”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent.
This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.