Skip to content
Info disclosure Write-up Beginner

Most of the CVE-2026-4020 attackers are the same client

The Gravity SMTP WordPress plugin exposed an unauthenticated REST endpoint that returned a system report containing SMTP credentials and API keys. An attacker could retrieve these secrets without authentication, and a large-scale scanning operation was observed exploiting this and other secret files.

honeylabs.net

Published on honeylabs.net

Almost every IP we logged exploiting the Gravity SMTP credential bug shares one HTTP fingerprint. Behind it is a Google Cloud fleet of thousands of short-lived instances, disguised by 3,301 rotating user-agents, sweeping more than 36,000 ports for .env files, git configs, credentials, and database dumps.

The author, on honeylabs.net

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the REST endpoint's permission check was implemented to always return true, so no authentication was required.

Impact

An unauthenticated attacker could obtain SMTP credentials and API keys, potentially leading to email abuse or further access, and the blog notes that if exposed during the June window the report was almost certainly read.

What the attacker needed

No authentication required; network access to the endpoint

The fix

Updating to Gravity SMTP 2.1.5 fixes the endpoint, and secrets that may have been exposed should be rotated.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

A WordPress plugin had a web address that anyone could visit without logging in, and it gave back a report full of secret passwords and keys. That means someone could steal those secrets and use them to send email as the site or access other services. The blog also describes a big automated scan that looks for such secret files across many servers.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.