Understanding the known OWASP A9 using components with known vulnerabilities

c0c0n 2015

20 August 2015

Talk

Abstract

OWASP Top 10 introduced A9: Usage of known vulnerable component. Although one of the important issue however still highly ignored. This talk will focus on various aspects of This issue and what could be done at various level’s of Information technology flow. We are not going to stress more on the impact rather the focus of this presentation would be on what can be done to reduce the effect. How a developer or a tester or a administrator find out about A9 issues and work towards mitigating it. This talk will not just look at various existing tools that can be use but also how to integrate them in environment as well as how to craft your component usage policy to counter the effect of A9 issues.

As part of the presentation we will also be sharing automation techniques and various technological solutions on how to counter A9 issues.

AI Generated Summary

AI Generated Content Disclaimer

Note: This summary is AI-generated and may contain inaccuracies, errors, or omissions. If you spot any issues, please contact the site owner for corrections. Errors or omissions are unintended.

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

Notable Points

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. 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.
  7. 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.
  8. 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.
  9. 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.
  10. 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””