asw193

Application Security Weekly Episode #193 – April 18, 2022

Subscribe to all of our shows and mailing list by visiting: https://securityweekly.com/subscribe

1. Appsec (and adjacent) Metrics – 12:30 PM-01:00 PM

Announcements

  • Don’t miss any of your favorite Security Weekly content! Visit https://securityweekly.com/subscribe to subscribe to any of our podcast feeds and have all new episodes downloaded right to your phone! You can also join our mailing list, Discord server, and follow us on social media & our streaming platforms!

  • Join Paul Asadoorian and Rich Mogull on May 4th to learn how to choose the right architecture for your application. Live attendees at this webcast will have the chance to win a $100 Hacker Warehouse gift card! Register at securityweekly.com/webcasts. Don’t forget to check out our library of on-demand webcasts & technical trainings at securityweekly.com/ondemand.

Description

We can create top 10 lists and we can count vulns that we find with scanners and pen tests, but those aren’t effective metrics for understanding and improving an appsec program. So, what should we focus on? How do we avoid the trap of focusing on the metrics that are easy to gather and shift to metrics that have clear ways that teams can influence them?

Segment resources

https://www.philvenables.com/post/10-fundamental-but-really-hard-security-metrics
https://cloud.google.com/blog/products/devops-sre/using-the-four-keys-to-measure-your-devops-performance

Hosts

JohnKinsella

John Kinsella

@johnlkinsella

Co-founder & CTO at Cysense

MikeShema

Mike Shema

@Codexatron

Security Partner at Square

2. OAuth Tokens Taken, Vulns in Medical IoT, Scoring a Proactive Security Culture – 01:00 PM-01:30 PM

Announcements

  • Security Weekly listeners, save $100 on your RSA Conference 2022 Full Conference Pass! RSA Conference will be live in San Francisco June 6th-9th, 2022. Security Weekly will be there in full force, delivering real-time, live coverage and interviewing some of the event’s top speakers and sponsors. To register using our discount code, please visit https://securityweekly.com/rsac2022 and use the code 52UCYBER. We hope to see you there!

  • Do you have a specific guest or topic that you want us to cover on one of the shows? Submit your suggestions for guests by visiting https://securityweekly.com/guests and completing the form! We review suggestions monthly and will reach out to you once reviewed!

Description

OAuth tokens compromised, five flaws in a medical robot, lessons from ASN.1 parsing, XSS and bad UX, proactive security & engineering culture at Chime

Hosts

JohnKinsella

John Kinsella

@johnlkinsella

Co-founder & CTO at Cysense

  1. OpenSSH 9 comes with change to prevent “capture now, decrypt later” quantum attacks – OpenSSH is switching to “post-quantum” Streamlined NTRU Prime + x25519 key exchange, in hopes to prevent attackers who sniff/store data now, with hopes to decrypt at some point in the future when quantum computers realize the ability to decrypt public key cryptography.

    More info on NTRU Prime is available at https://ntruprime.cr.yp.to/

  2. ldap security weakness found in nginx
  3. Security issue found in 7zip. Workaround shared, but when will it be fixed?
  4. Internal credentials via SQL as a service – The interesting part of offering complex open source software as a service is how to you ensure that every aspect of it has been properly secured?
MikeShema

Mike Shema

@Codexatron

Security Partner at Square

  1. Security alert: Attack campaign involving stolen OAuth user tokens issued to two third-party integrators – Valid credentials are the best backdoor into any system. Attackers managed to obtain OAuth tokens and abuse that access to download repo information — likely searching for even more instances of hard-coded secrets.

    GitHub also discussed a security issue in Git that primarily affects Windows users, which is unrelated to the stolen token issue. It’s not exactly a path traversal flaw in the sense of breaking out of a subdirectory, but it does touch on nuances of traversing directories and desired behavior when ownership changes. Check it at out https://github.blog/2022-04-12-git-security-vulnerability-announced/

  2. Coordinated disclosure of vulnerabilities affecting Girault, Bulletproofs, and PlonK – If you like crypto (the useful math kind that solves problems), then you’ll enjoy the deep dives of this article and the series that follows.

    For others, even if the details seem incomprehensible, the article raises some good points that apply more generally to application development. For example, one of the observations on how these flaws occur “comes down to a combination of ambiguous descriptions in academic papers and a general lack of guidance around these protocols.” The easy summary of that is “needs more documentation”, but the more effective summary is “needs clear communication for developers” — and that’s a topic we revisit on lots of episodes.

  3. Five zero days affecting Aethon hospital autonomous robots patched – Ah, medical droids — 21-B fixed up Luke in “Empire Strikes Back”, GERTY kept an eye on Sam in “Moon”, and one of my recent favorites is David from “Prometheus” (and Weyland’s advertisement for that series of android, https://youtu.be/qgJs7uluwlU).

    But closer to 2022, IoT in the medical space still has flaws related to XSS, passwords stored as MD5 hashes (!?), and an overall lack of strong authentication. Kudos to Cynerio for a nice write-up that explains the flaws without overhyping them *and* provides a more detailed PDF without requiring a signup to a marketing list first. Check it out at https://www.cynerio.com/blog/cynerio-discovers-and-discloses-jekyllbot-5-a-series-of-critical-zero-day-vulnerabilities-allowing-attackers-to-remotely-control-hospital-robots

  4. CVE-2021-30737, @xerub’s 2021 iOS ASN.1 Vulnerability – ASN parsing is notoriously prone to error and abuse that leads to security issues. This article actually covers a flaw from 2021, but its appeal is in the type of questions it poses rather than merely a technical review of the flawed code. One question is whether or how fuzzing could have found this issue. Another question relates to the wisdom of forking code and the kinds of flaws or missed patches that can creep into forks, even well-maintained ones.
  5. Check Point Research detects Vulnerability in the Rarible NFT Marketplace, Preventing Risk of Account Takeover and Cryptocurrency Theft – This flaw and attack falls into the “dead simple” category and essentially boils down the executing attacker’s JavaScript by clicking on a link. But the more interesting way to talk about this is security design and UX that helps users understand the consequences of actions or, even better, avoids consequences altogether. This security and UX failure hearkens back to papers like “Why Johnny Can’t Encrypt” about GPG and the lock icon in browsers. Designing security controls and information for other security subject matter experts doesn’t help users.
  6. Monocle: How Chime creates a proactive security & engineering culture (Part 1) – This article walks through the creation of metrics that inform teams about a security topic followed by a set of concrete actions those teams can take to improve their scores against the metrics. It’s nice to see a team talking about metrics in a way that keeps them simple and ties them to things a team can influence.