What’s the Deal with API Security? – Sandy Carielli – ASW #243
Full Audio
View Show IndexSegments
1. What’s the Deal with API Security – Sandy Carielli – ASW #243
Walking the show floor at RSA Conference, you couldn't trip without falling into an application security vendor booth ... and API security specialists were especially plentiful. Join Forrester Principal Analyst Sandy Carielli for her thoughts on RSA Conference and a deep dive into the challenges of API security.
Segment Resources:
Guest
![](https://image-optimizer.cyberriskalliance.com/unsafe/1920x0/https://files.scmagazine.com/wp-content/uploads/2022/05/Sandy_Carielli-0-1.jpeg)
Sandy is a principal analyst at Forrester advising security and risk professionals on application security, with a particular emphasis on the collaboration among security and risk, application development, operations, and business teams. Her research covers topics such as proactive security design, security testing in the software delivery lifecycle, protection of applications in production environments, and remediation of hardware and software flaws.
Hosts
2. LLM Top 10, Simple Vulns, PyPI Requires 2FA, ThinkstScapes Quarterly, Fun w/ Learning – ASW #243
OWASP has a draft for the LLM Top 10, simple vulns in a modern SaaS app, ancient vuln in a Wordpress plugin, PyPI moves to secure its package manager accounts, ThinkstScape Quarterly research report, having fun with memory variables, DNS, and logins.
Announcements
Stay up-to-date with us on X (formerly known as Twitter) for the latest show clips and updates! Find us @SecWeekly and stay connected with our cybersecurity community.
Hosts
- 1. OWASP Top 10 for Large Language Model Applications
Two weeks after we do an episode on top 10 lists there's a new top 10 list.
Unsurprisingly, it has prompt injection. It's nice to see it include alignment in the list (cue the D&D references). It also has some more generic entries like SSRF and error handling.
- 2. PrinterLogic SaaS, multiple vulnerabilities
After glancing at the list of vulns reported, my first thought was how old is this codebase? Looking at the release notes it doesn't seem very old, maybe a few years. But the vulns seem like a few decades out of place.
How much of this is due to an SDLC that has skipped over modern tooling and frameworks?
- 3. Jetpack 12.1.1: Critical Security Update
I mostly avoid Wordpress-related vulns. The core codebase tends to be secure, but the plugins get messy fast.
This one is a plugin, Jetpack. It caught my eye because a vuln was discovered during an internal audit by the team (that's good!), but the vuln has been present since 2012 (that's not as good!).
I'd be far more curious about what the discovery process was for this vuln. Why now after 10+ years? Was it a matter of improved security tooling? A fresh set of eyes? Awareness of a new vuln class? Hearing about how the team found the vuln might have lessons for others looking at long-lived codebases.
- 4. Securing PyPI accounts via Two-Factor Authentication
Protecting packages starts with stronger authentication for accounts managing packages.
Python had additional news recently:
- 5. CVE-2023-2825: Critical bug in GitLab with CVSS score of 10
This gets a mention because of path traversal. It has a simple POC as well: https://github.com/Occamsec/CVE-2023-2825
I wanted to look at the vuln to see what the fix is like since that's often a chance to talk about secure coding. GitLab won't show the details on their issue tracker until after 30 days, so we'll have to wait a bit longer.
Although there's another path traversal on the issue tracker that's fixed by a call to
Gitlab::Utils.check_path_traversal!(file)
So maybe there's something to be said for running a linter or code scanning tool to find similar patterns.
- 6. ThinkstScapes Quarterly | 2023.Q1
Thinkst posted their latest research report. It's been a light quarter from their view -- only about 1,500 blog posts and 700 presentations to go through.
A few items to check out are
- “Not what you’ve signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injection” -- especially in light of the LLM Top 10 we talk about this episode
- “Server-side prototype pollution: Black-box detection without the DoS” -- which we talked about in episode 230
- “Why I write my own security tooling” -- to emphasize the learning reinforcement of hands-on development and, equally important, documentation
- “Finding 10x+ Performance Improvements in C++ with CodeQL” -- the examples are specific to C++, but the concept could generalize to other languages and is important to highlight as an example of how security tooling provides even more value when it helps other developer problems like performance
- 7. LEARN: memory spy
This is a fun way to learn some basics of variables represented in memory by C programs. You don't even need to write any C code yourself. Walk though some of the examples for a visualization of values in memory.
And if you enjoy that, check out Implement DNS in a weekend as a way to learn programming and protocols. One of the best ways to reason about a protocol is to try and implement it. You'll discover areas of ambiguity and perhaps even design flaws that can lead to interesting vulns. But in any case this kind of hands-on project is great for learning a language a well. Try it in Python, Rust, or Go!
- 8. TOOL: Power Up Your Pen Tests: Creating Burp Suite Extensions with the New Montoya API
Informative walkthrough of Burp's new API and using it to make pentesting more effective.
- 9. FUN: Kenny Log-Ins
No, don't use these passwords. Yes, do have fun with the site.
Also, why isn't more security awareness fun like this? It's doesn't need a retro style (which is pretty awesome, btw), but it should have something more appealing than bullet points and language from top 10 lists.
Then check out the rest of the "Top Gun" soundtrack.
- 1. GCP CloudSQL Vulnerability Leads to Internal Container Access and Data Exposure
- 2. AMD chips crash after 1044 days of uptime
Counting's hard, mmmkay?
- 3. Lessons learned while attempting to use Firecracker for ci/cd
I won't lie - "Firecracker" in the title clickbaited me. But as I read through this, it occurred to me that while I appreciate a good long detailed writeup about a vulnerability, the writeup to do something securely is often just as long.
And basically all of us have to "do something securely."
- 4. In which a vendor uses their tools to detect AWS anomalies. Still not easy.
This story has been making the newsletter rounds over the last week or two. I wouldn't cover it, except as with the Firecracker and Pinterest stories I'm posting...it takes a lot of work.
I guess for this blog I figured since they were using their own software, it wouldn't be that hard?
It's like we've learned nothing from the "Just recompile your kernel. It's so easy." meme.
- 5. Bcrypt’s long goodbye (paywall)
Bcrypt turns 25 this year. Thanks for all the fish!
It's refreshing to see a package maintainer realize that their software shouldn't last forever, and that once was state-of-the-art might not be the best way to secure things over time.
We don't have to stop using it today, but no time like the present to think about when should we stop.
- 6. KeePass flaw allows retrieval of master password
One of these password safes is safe. Let me know when you figure out which one it is, k?
- 7. Stop silly security awards
This one's also making the rounds over the last week or so, for good reason.
Please encourage your vendors to sign on and stop with the silly security awards. We have more serious things to make fun of.
- 8. What value are PGP signatures on OSS packages
A blog post on pgp signatures for pipi packages - they're not verified, sometimes expired, sometimes badly created. Weakest link, and all that.
But it makes me wonder if something as complex as PGP provides value for open source packages in general in 2023?
- 9. How Pinterest does real time anomaly detection
As with the Bytewax story - it's interesting, but not something one does easily.
Don't get me wrong - this is a great article that dives into the data science/modeling aspects of trying to do anomaly detection right, at scale. This is a great example of when one hears somebody say "oh just use machine learning" - that stuff ain't easy.
ML/AI is important, where we're going in the future, and really what's probably going to allow us to get our jobs done. But if a vendor (or coworker, or manager) does the "it's so easy!" thing - push back.
- 10. Take the ethics in security pledge