Better Messages <= 2.15.33 - Unauthenticated Information Exposure Spoofing via 'X-Real-IP' Header via /guests/register
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: yes
- Technical impact: partial
Summary
The Better Messages – Chat Rooms, Group Chat, Private Messages & AI Chat Bots plugin for WordPress is vulnerable to Information Exposure by Spoofing in all versions up to, and including, 2.15.33. This is due to the `is_ai_bot_user()` function identifying privileged internal AI bot accounts by performing a prefix check for `'ai-chat-bot-'` against a guest record's stored IP address, which is populated verbatim from the client-controlled `X-Real-IP` request header during unauthenticated guest registration. This makes it possible for unauthenticated attackers to register a guest identity that the plugin treats as its own internal AI bot, bypassing the per-room role allowlist, draft-status check, and join filters — which are all short-circuited by the bot check in `user_can_join()` and `user_can_read()` — to join administrator-restricted chat rooms, post messages into them, and read the private message history of other users.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: yes · Technical impact: partial
- Record last updated
Affected versions
- wordplus Better Messages – Chat Rooms, Group Chat, Private Messages & AI Chat Bots
through 2.15.33
References 9
plugins.trac.wordpress.org
- browser/bp-better-messages/tags/2.15.33/inc/functions.php#L4155
- browser/bp-better-messages/tags/2.15.33/inc/chats.php#L2145
- browser/bp-better-messages/tags/2.15.33/inc/chats.php#L2168
- browser/bp-better-messages/tags/2.15.33/inc/chats.php#L2196
- browser/bp-better-messages/tags/2.15.33/inc/guests.php#L577
- browser/bp-better-messages/tags/2.15.33/inc/guests.php#L467
- browser/bp-better-messages/tags/2.15.33/inc/guests.php#L311
- changeset?old_path=bp-better-messages%2Ftags%2F2.15.33%2Finc%2Ffunctions.php&new_path=bp-better-messages%2Ftags%2F3.0.0%2Finc%2Ffunctions.php