Securing a DoD contractor: Finding a multi-tenant authorization vulnerability
187 points
11 hours ago
| 16 comments
| strix.ai
| HN
mcoliver
8 hours ago
[-]
I've seen this at so many startups (and worked to patch the gaps and put in best practices) including those backed by top tier VCs. The problem is that it is rare for startups to have security minded people.

It's usually designers, people who can raise money, and generalists who can stitch together apis. It's not generally platform, db, or security minded people. The proliferation of things like vercel and supabase have exacerbated this.

So you get people deploying API keys client side and dbs without rls. Or deploying service keys client side when they should be anon. I mean really basic stuff.

reply
The_Blade
7 hours ago
[-]
> So you get people deploying API keys client side and dbs without rls. Or deploying service keys client side when they should be anon. I mean really basic stuff.

Claude Code will do this, and actively encourage bypassing any verification before pushing to prod. I saw that first hand with its attempted handling of a major CIAM provider, and then Vercel using whatever OAuth provider in the ol' transitive breach

That is common knowledge now, right? Or am I just smoking yellow tops

reply
fragmede
5 hours ago
[-]
Yeah but Supabase yells really loudly if you have RLS turned off with their own AI agent, plus you can ask Claude to red team the platform to have it lock it down.
reply
throwaway523401
4 hours ago
[-]
I used to work at a startup that handled medical records. A HIPAA breach would have wiped out the company through reputation damage — because our customers were also subject to HIPAA and couldn't possibly hire a startup with a track record of HIPAA breaches.

In my personal assessment some individuals within leadership at this startup were highly risk-tolerant. I speculate that had those individuals been in leadership at other companies not subject to HIPAA, security practices would have been as lax and irresponsible as what's being described as the norm in this thread.

However, because of HIPAA, security practices at this company were fair-to-middling. There were certainly weak areas and mindless box-checking a la SOC-2, but it wasn't a complete shitshow. Those of us in the engineering deparment who cared were able to raise concerns and not have them dismissed, and were generally allowed to do things the right way.

My takeaway: when there are actual severe penalties for privacy breaches, startups may not be so cavalier with your data.

reply
BowBun
8 hours ago
[-]
Yep, this has been my experience over 15 years in startups as well. There are barely any punishments, so there is no incentive for startups to change how they operate.
reply
cyanydeez
7 hours ago
[-]
You could even say they're paid even more to "move fast and break things".
reply
bigyabai
7 hours ago
[-]
Same here. I've witnessed horrifying security bugs that were basically flagged as WONTFIX internally because it was too much work to fix until it was exploited.
reply
c2h5oh
7 hours ago
[-]
More often than not security minded people are encouraged to focus on things that get the product to market faster instead.
reply
chrisss395
5 hours ago
[-]
In your opinion, is the lack of attention on security due to speed-bias or not having the expertise? For a startup / sole entrepreneur with very limited resources, what would be your advice?
reply
mcoliver
15 minutes ago
[-]
Yeah what was said below. Lack of experience. A lot of people just don't know to ask about it or think through data flows. Running your code base through an llm asking it to act as a l7 security auditor, take it's time, think from first principles, and look for data leaks and potential security gaps in the code and architecture is a good start. Also don't ignore supabase when it gives you suggestions on things to fix.

As a solo entrepreneur you really have to prioritize your time but spending an extra day or two to think through everything using something like Gemini thinking or pro and an llm with an eye on security before you start taking customer data is probably a really good use of your time and you'll learn a thing or three. Just keep asking why and think critically.

reply
hansvm
4 hours ago
[-]
IME it's always lack of experience, at least at the level being described here. It's the same kind of person adding CORS handling to a pure backend service for "security" reasons. They just don't know any better and don't have a good enough mental model of how it all fits together to be able to recognize when they need to research more. The insecure patterns being chosen instead usually aren't even easier or faster to implement.

I don't have any concrete recommendations other than that one really good senior+ engineer is more important than a legion of juniors early on. Basic security doesn't require an extra hire; it requires somebody experienced enough to build your product right.

reply
jrumbut
3 hours ago
[-]
Yeah, in most cases these security vulnerabilities are also regular bugs too.

I'll bet at some point someone contact this company and said "hey I'm being shown the wrong course" or "I can't access the material I just uploaded."

I've never seen anyone who got the basics right compromised because of some esoteric security issue. I'm sure it happens and probably will happen more now that it can be automated but it's usually a case of a system being left wide open.

reply
luminati
5 hours ago
[-]
off-topic, but I've become quite intrigued with AI pentesting, after being very unhappy with the various pentest firms we've used in the past, that rip us off or do very mediocre tests (of course yeah yeah the really good ones exist but even then they're not going to match the speed at which we are claude coding now).

Tried a bunch of open source pentesters, including strix (though we never managed to get strix to actually complete.) this project called shannon was the only one that we managed to get working reliably and it definitely smoked the output of one of the $10K pentests we did, (we had just discovered shannon after we had gotten the pentest firm's report, so it gave us a good baseline comparison). caveat: this was white box and our pentest firm did greybox, but neverthless I was still very unimpressed by what I got from the pentest firm. $50 vs $10K is not even a comparison lol with far far better results and sent our cto into near heart attack mode.

i think the days of pentesting firms are over - especially with mythos/5.5-cyber etc like capability coming into play. very exciting times ahead!

reply
eskibars
1 hour ago
[-]
I know the space is starting to get crowded, but I've been building one and I'd love to get feedback if you have time
reply
codegeek
9 hours ago
[-]
"There was no meaningful organization scoping, no tenant isolation, and no permission check preventing a low-privilege user from accessing other organizations' records."

Let me guess though. They are SOC2 and ISO compliant right ?

reply
sailfast
8 hours ago
[-]
One hopes not as this stuff would have come up in even a cursory audit of the product - but it’s kinda like Ratings Agencies / Moody’s in 2008 right now until a big breach that occurs post-cert and they lose their credibility.
reply
zbentley
8 hours ago
[-]
The number of FISMA-HIGH, ATO’d/RMF’d, security audited government systems I’ve seen with equivalent security issues is…substantially nonzero.

I have come to believe that most security audits, even ones conducted through widely-reputed groups or under strict standards, are much worse than useless.

Audits are a thing that can theoretically be done well/in a value-adding way, but rarely are, for the same reasons that most private-sector security teams I’ve worked with are effective only at generating internal badwill, and ineffective at increasing security above a very low baseline.

reply
janice1999
10 hours ago
[-]
Finally the AI security startup hustlers will keep the other tech startup hustlers in line. Maybe the era of devastating leaks and total disregard for user privacy will come to an end (doubtful).
reply
SkyGuard_Lead
7 hours ago
[-]
Wait until we understand the depth of the current Mythos zero day situation. We already have an overall idea of what’s to come but I don’t think we can grasp the high level implications the vast array of these vulnerabilities have in store for us. I don’t see/ say this in a doomsday-ish way nor the world coming to an end. It will sting a bit but overall it’s way overdue and spells opportunity for all, imo.
reply
ghstinda
7 hours ago
[-]
it won't end at mythos, that's just the one everyone knows about and obvious. think of what's going on behind the scenes, that's the real gold rush
reply
tptacek
9 hours ago
[-]
Initial take: as vulnerability stories go, this is a pretty boring one; what they have here is a target that was secured largely by the fact that few people knew about it. The most work done in this blog post is establishing that a training platform deployed by DoD might be much more sensitive than the same kinds of applications which are ubiquitous throughout corporate America and which are generally boring targets.

The vulnerability itself appears to be something anyone with mitmproxy would have spotted within minutes of looking at the platform; apparently, rotating object IDs worked everywhere in the app, and there was no meaningful authz.

It's interesting if AI systems can "spot" these, in the sense of autonomously exercising the application and "understanding" obvious failed authz check patterns. But it's a "hm, ok, sure" kind of interesting.

reply
stephbook
7 hours ago
[-]
Tenant scoping is important. Just ask Microsoft, didn't they have one right at bing.com? Oh, just every Bing user is vulnerable to have all Microsoft data (o365 emails for example) hacked. No biggie.

https://www.wiz.io/blog/azure-active-directory-bing-misconfi...

reply
neilv
9 hours ago
[-]
Two questions prompted by this disclosure:

1. I didn't see mention of a bug bounty program giving limited authorization. How do independent researchers do this with legal safety? Especially when DoD is involved?

2. If a researcher discovered a vulnerability at a DoD contractor, and the contractor didn't seem to be resolving the problem, is there a DoD contact point that would be effective and safe for the researcher to report it?

reply
orthogonal_cube
8 hours ago
[-]
To answer the first question, a number of veteran independent researchers probably wouldn’t have touched such a system. Plenty of companies will send their lawyers after you if you tell them that you’ve discovered a vulnerability of some sort and wish to responsibly disclose. Even if you do things in good faith, the company has zero reason to assume the best from you and can hold a sword over your head by citing poorly-written laws that lean in their favor regarding computer fraud and abuse.

DoD does appear to offer a “Defense Industrial Base - Vulnerability Disclosure Program” for all public-facing DoD/DoW systems.[1] However, this might not include contractor-controlled assets or services. I cannot view the HackerOne page that it redirects to (login is required) to view more details.

[1]: https://www.dc3.mil/Missions/Vulnerability-Disclosure/DIB-Vu...

reply
ungreased0675
4 hours ago
[-]
The line between security research and espionage seems really thin.
reply
antonymoose
8 hours ago
[-]
> How do independent researchers do this with legal safety?

In my experience it’s usually foreign nationals from third-world countries doing drive-by beg-bounty testing. Presumably they don’t much consider legality.

reply
bornfreddy
8 hours ago
[-]
> Presumably they don’t much consider legality.

Or the operation is not even illegal where they come from?

reply
bryancoxwell
10 hours ago
[-]
> Their initial reply from the CEO: "I would love to hear what the vulnerability is, but I assume you want to get paid for it. Is that the play?"

Well that’s pretty damning.

reply
Aurornis
8 hours ago
[-]
Should have been handled better, but some context is necessary:

If your name is associated with a startup in a visible leadership position you will get mass-spammed from people claiming to have discovered critical vulnerabilities in your system. When you engage with them, the conversation will turn into requests to hire them for their services.

So the CEO handled it poorly, but it's also not a great choice to withhold the details of the vulnerability in initial contact. If the goal was to get something fixed it should have been included in an easy-to-forward e-mail that could have been sent to someone who could act upon it.

Anyone who works with security or bug bounties can tell you that the volume of bad reports was a problem before LLMs. Now that everyone thinks they're going to use LLMs to get gigs as pentesters the volume of reports is completely out of control.

reply
reassess_blind
2 hours ago
[-]
The number of spam "I found a vulnerability" emails you get as a SaaS operator is ridiculous, they never offer any proof of a vuln and just want you to confirm you have a bug bounty program (in which case they'll start scanning afterwards), or to pay ahead of time for the information or they'll threaten to release it.

Their response isn't damning to me. It sounds like they just assume they're one of these spammers.

reply
WaitWaitWha
8 hours ago
[-]
i have even more damning ones.

When the "good Samaritan" do not go to the vendor, they go to the client (i.e., they do not contact the DIB company, they contact the Gov agency).

I have seen government contractors getting pilloried, losing their livelihood when this happened. And, yes there is always a "quick fix offer" by the "good Samaritan" to the vendor and promised re-assurance to the Gov agency, only if this misguided vendor would go with their solution.

It is also not unusual to find out later on, that the identification or even the resource reported on was wrong - but by this time the Gov agency already punished the contractor and the reporting "good Samaritan" is laughing (sometimes to the bank).

they can get away with unethical vulnerability disclosure because think of the children, the threat to the nation, grandma off the cliff, and <insert your favorite cliche justification of malfeasance>.

Yes, sore subject.

reply
pocksuppet
2 hours ago
[-]
That just sounds like good old business to me. When outside of public view, good businessmen are extremely cut-throat and unethical.
reply
cyberax
10 hours ago
[-]
I keep getting emails with the content like: "I found a critical bypass vulnerability in your app what is the appropriate channel to disclose it, and do you have a bounty program?"

I tried engaging and replying to them, and it inevitably turns into: "Yeah, we don't actually have the vulnerability, but you are totally vulnerable, just let us do a security audit for you".

I have a pre-written reply for these kinds of messages now.

reply
somewhatgoated
8 hours ago
[-]
I run bug bounty for a fairly large OSS project and the amount of shitty/bad actor spam/beg bounties etc we get is huge. Like 95% of the emails to security@ are straight garbage
reply
kube-system
9 hours ago
[-]
Yeah, the signal to noise ratio on vulnerability reports is very weak, especially when the initial report withholds any detail.

I get tons of these messages too and the ones that do include details are the kind of junk you get from free "website vulnerability scanners" that are a bunch of garbage that means nothing -- "missing headers" for things I didn't set on purpose, "information disclosure vulnerabilities" for things that are intentionally there, etc... You can put google.com into these things and get dozens of results.

reply
Galanwe
9 hours ago
[-]
From the looks of it, they actually asked for a way to report.
reply
bdangubic
9 hours ago
[-]
email security@company
reply
pcthrowaway
8 hours ago
[-]
Sure that is perhaps a good way to inquire about the appropriate channels to disclose a security vulnerability, but email is not a secure communication method for sending the details about a security vulnerability
reply
Terr_
5 hours ago
[-]
It's kind of insane to think that the state of email encryption is still so bad in The Future Year 2026.

No flying cars? Okay. Nobody traveled much beyond the orbit of the Moon? Dang. But email? We didn't even get reliable privacy separate from identity?

reply
cyberax
5 hours ago
[-]
> Nobody traveled much beyond the orbit of the Moon?

Oh, don't think that outer space will let you escape the misery of email:

> "I have two Microsoft Outlooks and neither one is working": Artemis II astronauts

reply
bdangubic
7 hours ago
[-]
start there and handle everything once you get in contact with appropriate people
reply
cyberax
9 hours ago
[-]
Yeah. I'm just saying how it could have been overlooked. Doesn't excuse it, though.
reply
tencentshill
10 hours ago
[-]
They could sell the next one to an adversary for a lot more money if they're going to act like that.
reply
lixtra
10 hours ago
[-]
Yes, there are also many other lucrative illegal activities.
reply
sailfast
8 hours ago
[-]
How is it illegal? It’s information available to the public.
reply
NegativeK
1 hour ago
[-]
If you sell something to someone and they do computer crimes, you're going to have to prove that you couldn't've known that they're a computer crimer.

It's the same thing with selling general offensive security tools. You have to proactively make it clear that it's for testing and not criminal use. Otherwise, cops are going to assume you're complicit and make things shitty.

reply
tardedmeme
9 hours ago
[-]
Isn't it also illegal to withhold knowledge of a vulnerability for payment? It sounds like it should fall under some variety of blackmail.
reply
mtlynch
9 hours ago
[-]
That would be even worse than our already bad system.

The system is already pretty bad because vendors underinvest in security, and then to fix it, researchers have to volunteer their time to investigate with no guarantee of payment. If the vendor could force researchers to hand over findings for free, nobody would want to do security research except hobbyists having fun. They're basically signing up for hours of tedious forced labor to explain vulnerabilities to the vendor.

I wish there was legislation that allowed the government to fine vendors for security vulnerabilities like this where the amount scales based on how much user data they leaked. And it could function like other whistleblower systems where a researcher who spots a leak can report it to the government and collect 50%. That way, if the vendor says, "We're not paying you," the researcher can turn around and collect the money from fines.

reply
tardedmeme
8 hours ago
[-]
Vendors routinely get researchers arrested for breaking into their computers as well.
reply
somewhatgoated
8 hours ago
[-]
Legality aside there is no market for this really.
reply
waffleiron
7 hours ago
[-]
Data breaches of average people sell for quite a bit of money, often for phishing. I find it hard to believe no one would be interested in this.

Or any other dataset with a hyper targeted demographic.

reply
tardedmeme
9 hours ago
[-]
I wonder if this is how Handala group recently stole the list of service members.

How do people find these vulnerabilities within the immense scope of the whole internet? Are they going around with some kind of generic API scanner that discovers APIs?

reply
yellowapple
6 hours ago
[-]
Probably based on insider info to some degree; if you already do any sort of work for the DoD, then that tends to help narrow the scope of the search for vulnerable things to exploit.
reply
fragmede
5 hours ago
[-]
reply
BobbyTables2
6 hours ago
[-]
Feels like they were too nice. After 90 days of no response, why not just go full disclosure on them?

The CEO seems more interested in insulting people than securing his company’s product.

reply
ryanisnan
10 hours ago
[-]
Yikes, Schemata and that delinquent CEO should be held accountable.
reply
bearsyankees
10 hours ago
[-]
reply
icedchai
8 hours ago
[-]
Was the app vibe coded?
reply
sailfast
8 hours ago
[-]
Would be fascinated to know if this went through competitive procurement or if it was one of those Hegseth “let’s be lethal and ship broken shit to the warfighter” procurements.
reply
rectang
10 hours ago
[-]
a16z = "Andreessen Horowitz", for those not in the know. (The acronym is not expanded in the article. EDIT: OP has fixed the article.)
reply
bearsyankees
10 hours ago
[-]
fixed now
reply
rectang
10 hours ago
[-]
Thanks! Happy to have my comment hidden by the mods if they get around to it.
reply
cheschire
9 hours ago
[-]
Perhaps the community could band together and crowdsource the moderation action through flags. Kidding.
reply
bearsyankees
10 hours ago
[-]
appreciate the feedback!!
reply
OsrsNeedsf2P
8 hours ago
[-]
Honestly, I didn't know who Andreessen Horowitz was, until you spelt out a16z
reply
DougN7
10 hours ago
[-]
Would it be possible to stop using aXXb nomenclature within the titles? Some of us aren't hip enough to know what all of them mean.
reply
beambot
10 hours ago
[-]
Andreessen-Horowitz, who most people (and they themselves) refer to as a16z and have the eponymous domain name (a16z.com). They're one of the top VC firms on the planet -- exceedingly relevant to HN audiences and commonly discussed here.
reply
krisoft
9 hours ago
[-]
> you'd rather say Andreessen-Horowitz, which is just as arbitrary as a16z

Yes. I know Andreessen-Horowitz and I don’t know a16z. Reading the title i thought it will be about the cryptography serialisation specification. Turns out i was mixing it up with ASN.1.

> Their website is literally a16z.com

I hear now. Before this if pressed i would have guessed that they probably have a website indeed. If you would have twisted my arm my guess would have been andersenhorovitz.com (yup, with the typos. I learned the correct spelling today from your comment.)

> exceedingly relevant for the HN audience

We contain multitudes.

reply
PenguinCoder
5 hours ago
[-]
> Yes. I know Andreessen-Horowitz and I don’t know a16z.

So the world needs to adapt to your knowledge instead of you learning to adapt to a often used, and well-known moniker?

reply
operatingthetan
9 hours ago
[-]
They just want to sound technical.
reply
DougN7
10 hours ago
[-]
I'll be honest - I was thinking authorization (a11n?) - so I didn't read it closely enough. But despite that, and being on HN from almost the beginning (with a different account I lost the password to), I still didn't know what a16z was, though I do recognize Andreessen-Horowitz.
reply
Semaphor
10 hours ago
[-]
Opposite for me, I've seen a16z tons of time on HN, and also the domain where sometimes, but the full name would have meant nothing to me.
reply
rectang
10 hours ago
[-]
I didn't either. This is an ancient debate that can never be resolved completely, though — because the articles that HN submissions point to don't follow a style guide and there are always assumptions about audience priors. Best to just resolve it and move on.
reply
ok123456
7 hours ago
[-]
Sorry, I come here for hacker content.
reply
bearsyankees
10 hours ago
[-]
apologies, just a vc firm
reply
tomhow
9 hours ago
[-]
The guidelines require using the same title on HN as is on the original post.
reply
bearsyankees
9 hours ago
[-]
oh apologies, thanks for the reminder
reply
tptacek
9 hours ago
[-]
Even when the author submits? :)
reply
tomhow
9 hours ago
[-]
Yes... unless we think it's fine to tailor a title to activate a particular reaction from the HN audience :)
reply