Akismet API keys are exposed by authentication method
Akismet API keys were sent as part of the subdomain in DNS requests to Akismet's backend, exposing them to anyone who could observe DNS traffic. An attacker capturing network packets or operating a DNS server could log the API key and potentially cause denial of service or information leakage.
Originally disclosed on HackerOne
- Triaged in 18 days
- Fixed in 46 days
- Paid in 56 days
- Disclosed after 2 months
Summary by the program
We have switched to sending the Akismet API key as part of the request body by default.
Summary by the researcher
At the time of this report, Akismet API keys used formed part of the subdomain request to Akismet’s backend in the form api-key.rest.akismet.com. This means that the API key is transmitted over DNS - a protocol that is well known for its lack of encryption.
As a result, Akismet API keys cannot be considered secure or private. Anyone capturing network packets, or the DNS server operator for example, could easily log the DNS requests - and therefore API key - from a client accessing the Akismet API.
The unwanted disclosure of the API key could cause Denial of Service or Information Leakage should a malicious actor get hold of it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the API key was included in the subdomain of the request to Akismet's backend, causing it to be transmitted in plaintext DNS queries.
Impact
An attacker who captures network packets or controls a DNS server could log the API key, potentially leading to denial of service or information leakage.
What the attacker needed
Ability to observe DNS traffic
The fix
The program switched to sending the API key in the request body by default.
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 report has not been written yet. The Original tab links to the source.
When a program contacts a server, it often looks up the server's address using DNS, which is like a phone book for the internet. DNS queries are usually not encrypted, so anyone on the network path can see them. Here, the API key was placed in the name being looked up, so it was visible to anyone watching DNS traffic.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.