The c0c0n 2015 talk “Understanding the Known: A9, Using Components with Known Vulnerabilities” argues that OWASP A9 extends far beyond traditional web application libraries, encompassing language packages, WordPress plugins, Cisco network appliances, and the Android OTA update chain. It breaks down the patch lifecycle, identifies the key stakeholders (component developers, application developers, end users/sysadmins, and the pentester), and provides actionable guidance for each role in managing third-party dependency risk.
Summary
The talk opens by widening the definition of a component: any piece of reusable code, paid or open source, developed by someone other than you. The examples are deliberately broad, spanning programming language ecosystems (Python packages, Ruby gems, .NET NuGet packages), web application extensions (WordPress plugins), and hardware and firmware (Cisco Security Manager, Cisco ASA hardware). OpenSSL, Bash, Apache, and NGINX all count as third-party packages under this definition.
The talk then separates two distinct problems, components with known vulnerabilities and licensing policies, and confines the talk to the first. Known vulnerable components are marked as 9 out of 10 in the OWASP Top 10 of 2013, and attacks can range from basic web attacks to remote code execution. The flagship example is Heartbleed, followed by the “Stranger Danger” research by Jake and Kymberlee presented at BlackHat USA 2015 demonstrating vulnerable vendor dependencies. The central anxiety is framed plainly: we rely on third parties to patch, maintain security, and in short not screw up.
The concerns differ by software model. For open source, the developer may have scratched an itch and moved on, may not understand security implications and ignore reports, or may genuinely be unable to work on the project. For closed source, the company may have shifted focus or lack the money for maintenance. Even when fixes happen in time, the patch process is a multi-step chain: disclosure, vendor code fix, public advisory, application developer dependency update (complicated by backward compatibility, regression, and feature support), and finally the sysadmin or user updating the software to receive the fix.
The Android OTA process serves as the case study for extreme patch complexity: Google releases the PDK and source to chipset manufacturers and vendors, chipset makers provide drivers or stop support, vendors evaluate whether a device can update at all, update their own software (SENSE, TouchWiz), work with carriers, submit builds for lab testing with patch-and-resubmit cycles, and obtain regulatory, industry, and Google approvals before the OTA reaches users. This multi-stakeholder chain is why security patches can take months to reach devices.
The response section identifies three key players (component code developer, programmer reusing the component, end user/sysadmin) and then adds the pentester. Sysadmins and end users should monitor software feeds, never ignore updates from shared libraries, and keep an eye on shared resources. Developers should catalogue their components, never ignore pull requests and security reports, and proactively test software. Component code developers should be clear about support status and transparently accept security issues and inform about fixes. On tooling, the talk concludes that vulnerable component identification tools are not yet enough, so manual tracking is still required.
Key Themes
- What constitutes a component and why we use them: any reusable piece of code, paid or open source, developed by someone other than you, from Python packages and Ruby gems to WordPress plugins and Cisco firmware, with OpenSSL, Bash, Apache, and NGINX all counting; adoption rests on the Unix philosophy, code reuse, faster combined evolution, and the cost of building from scratch.
- The two distinct problems: known vulnerabilities in components versus licensing policy issues, with the talk focused on the security aspect ranked 9 out of 10 in the OWASP Top 10 2013, and real-world examples including Heartbleed and the BlackHat USA 2015 “Stranger Danger” research by Jake and Kymberlee.
- Concerns with third-party dependencies: open source developers may lose interest, ignore security reports, or lack capacity, while closed source companies may shift focus or lack maintenance resources.
- The patch process complexity: disclosure, vendor code fix, public advisory, application developer dependency update (backward compatibility, regression, feature support), and finally sysadmin or end user deployment.
- Android OTA as a case study: Google’s PDK release and source handoff through chipset manufacturer drivers or support drops, vendor software updates (SENSE, TouchWiz), carrier modifications, lab entry and testing, regulatory, industry, and Google approvals, and finally OTA preparation and user installation, a chain that can delay security patches by months.
- Three key stakeholders and their responsibilities: sysadmins and end users monitor feeds and never ignore shared library updates; developers catalogue components, never ignore pull requests or security reports, and proactively test; component developers are transparent about support status, security issues, and fixes.
- Vulnerable component identification tools: scanning tools exist, but comprehensive tracking across all third-party libraries still requires manual effort.
- The pentester’s approach: catalogue all components the same way administrators do, cross-reference with known vulnerability disclosures using dependency trackers, and leverage the results.
Notable Points
- Takeaway: maintain a comprehensive inventory of all third-party components used in your projects, including transitive dependencies, server software, and firmware, as the first step toward managing A9 risk.
- Takeaway: monitor vulnerability feeds and security advisories for every component in your dependency tree, and never ignore updates for shared libraries even if they appear minor.
- Takeaway: as a component developer, be transparent about support status and security issues: publish clear advisories when vulnerabilities are fixed and update version metadata to reflect end-of-life status when maintenance stops.
- Takeaway: recognize that the patch lifecycle involves multiple stakeholders with competing priorities, and build update processes that can handle dependency updates quickly when security advisories are released, despite backward compatibility and regression concerns.
- Takeaway: use automated dependency scanning tools to identify known vulnerable components, and when performing security assessments, always check the versions of all third-party components against known vulnerability databases as a standard part of the testing methodology.
- The deck’s component definition covers programming languages (Python packages, Ruby gems, Microsoft .NET packages), web applications (WordPress plugins), and hardware (Cisco Security Manager, Cisco ASA hardware), plus OpenSSL, Bash, Apache, and NGINX.
- A9 was marked 9 out of 10 in the OWASP Top 10 vulnerabilities in 2013, with attacks ranging from basic web attacks to Remote Code Execution.
- The patch process has five steps: disclosure, vendor code fix, public advisory, application developer dependency update (backward compatibility, regression, feature support), and sysadmin/user software update.
- The Android OTA chain runs from Google’s PDK release and source handoff through chipset manufacturer drivers or support drops, vendor software updates (SENSE, TouchWiz), carrier modifications, lab entry and testing, regulatory, industry, and Google approvals, and finally OTA preparation and user installation.
- References cited include “Stranger Danger! What Is The Risk From 3rd Party Libraries?” (BlackHat USA 2015, Jake and Kymberlee, with a note to check VTEM), “The Unfortunate Reality of Insecure Libraries” by Jeff Williams and Arshan Dabirsiaghi (March 2012), a GOV.UK dependency management guide, and a Sonatype 2013 survey.
Notable Quotes
“Any component which is not developed by you is a 3rd party package in use”
“Unix Philosophy : Do one thing and do it well”
“Attacks can range from basic web attacks to Remote Code Execution”
“Developer has to update the dependencies in actual project (believe me when i say its not easy task)”
“We still lack method to track it for every third party library”
“in short “NOT SCREWUP””