Unauthenticated OpenAI API key disclosure via REST endpoint
Published Sep 25, 2024 · Updated Sep 25, 2024
Missing authorization in Webdigit Chatbot with ChatGPT WordPress before 2.4.6 allows remote attackers to read the configured OpenAI API key. The wdgpt/v1/api-key REST endpoint returns the configured key without authorization, and the returned value uses reversible ROT13 encoding. No authentication or user interaction is required, and exposure enables use of the site's OpenAI account within the key's permissions.
Summary
What happened
Missing authorization in Webdigit Chatbot with ChatGPT WordPress before 2.4.6 allows remote attackers to read the configured OpenAI API key. The wdgpt/v1/api-key REST endpoint returns the configured key without authorization, and the returned value uses reversible ROT13 encoding. No authentication or user interaction is required, and exposure enables use of the site's OpenAI account within the key's permissions.
The record
- CVE
- CVE-2024-6845
- Published
- Sep 25, 2024
- Updated
- Sep 25, 2024
- Vendor
- Webdigit
- Product
- Chatbot with ChatGPT WordPress
- Classifications
- CWE-863, CWE-862, T1552
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Sep 25, 2024CVE publishedPublication date reported by the CVE source.
- Sep 25, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <2.4.6
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- WPScan REST request proof of conceptproof of concept · validated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo