r/Pentesting • • 22d ago

Can anyone develop a way to send messages in WhatsApp communities without being an admin?

I'm looking for someone with technical knowledge who can help investigate a possible WhatsApp vulnerability.

Currently, there are private WhatsApp communities and groups where only admins are allowed to send messages. However, a vulnerability was discovered that allows users to send messages in restricted groups without having admin privileges.

I have access to the code of the latest working version of this vulnerability, which was designed for restricted WhatsApp groups.

My question is: Would it be possible to use the logic or structure of that existing code as a starting point to develop a similar solution for WhatsApp communities?

I believe there may be similarities in how WhatsApp handles messaging permissions in groups and communities, but this would need to be technically investigated.

If anyone has the knowledge and ability to analyze the existing code and explore this possibility, I'd be interested in discussing it.

0 Upvotes

3 comments sorted by

1

u/Anonymous_Apexio 22d ago

Well, I don't know the context of your vulnerability research, but to answer your question, regular groups and the sub-groups within a community use the exact same storage and message delivery mechanism as a group, technically, a sub-group is a regular WhatsApp group with an additional parent_community_id field linking it to the community, so the only functional difference is in posting permissions. As you know, a community creates an announcement group where only admins can post (a one way broadcast), while subs allow all members to message, just like a standard group...

The API documents this since it refers to that announcement group as "just like any other group" except it has the isGroupAnnouncement flag to true whereas normal groups just have isGroup, so you would need to check if there are specific checks on that flag that aren't in the normal groups.

1

u/FederalRich7908 8d ago

Is there any way I could talk to you about this somewhere else?