Menu

The Defaults Are the Attack Surface: What I Learned Auditing Open-Source Middleware
πŸ“°

The Defaults Are the Attack Surface: What I Learned Auditing Open-Source Middleware

DEV Community: javaΒ·aaannvvΒ·9 days ago
#ByxqFQAm
#devtojava#devto#dev#every#token
Long article (761 words) β€” no AI summary yet.
Reading 0:00
15s threshold

The Defaults Are the Attack Surface: What I Learned Auditing Open-Source Middleware

Every few weeks another CVE drops for an open-source admin console, report engine, or job scheduler, and every few weeks the write-up traces back to the same place: not a clever memory-corruption bug, but a default. A default account that ships in the config file. A JWT signing key committed three years ago. A "temporary" token that outlived the developer who wrote it.

I spend my time auditing exactly these components β€” Java middleware, the boring stuff every company deploys and nobody reads β€” working only from source code and public advisories. After a while the pattern stops being surprising and starts being a checklist. This post is that checklist, with the reasoning behind each item.

1. First-boot credentials, and where they hide

The obvious case is the admin/admin pair in application.yml . The interesting cases are the non-obvious ones:

Generated once, cached forever.…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.