All vulnerabilities

Servers and applications

GHSA-q93v-rjvr-8ggg

Warnings insufficient authorization

Severity
Low
Published
16 Sept 2026
Last changed
16 Sept 2026
Added to UpHeron
3 Nov 2026
Fixed in
1.8.41
Weakness
Authorization bypass through a user-controlled key (IDOR) (CWE-639)
Sources
Project advisories (GitHub)

Description

The warning system does not consistently validate permissions in relation to target user permissions, allowing restricted moderators to view and revoke warnings for protected users.

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

warnings.php?action=warn and action=do_warn both call modcp_can_manage_user($user['uid']), which blocks a lower-ranked moderator from warning a protected user such as an administrator. The same script's listing, detail, and revocation routes do not reuse that gate. They require only canwarnusers plus the target group's canreceivewarnings flag.

As a result, a restricted moderator can still enumerate warnings.php?uid=, retrieve warnings.php?action=view&wid= for sequential warning IDs, and submit POST warnings.php?action=do_revoke with a valid my_post_key to revoke active warnings on protected users.

From mybb/mybb's security advisory.

Affected software

SoftwareAffected versions
MyBBServers and applications · github:mybb/mybb
  • Every version before 1.8.41

About MyBB

open-source forum software

From Wikidata, CC0 1.0.
Docker Hub pulls
195,687Docker Hub, 15 Nov 2026
GitHub stars
1,251GitHub, 15 Nov 2026
Forks
445GitHub, 15 Nov 2026
Latest release
mybb_1841GitHub, 15 Nov 2026
Released
16 Sept 2026GitHub
License
GNU General Public License, version 3.0, GNU Lesser General Public License, version 3.0Wikidata
Written in
PHPWikidata
First released
2002Wikidata
First published on GitHub
13 Jun 2012GitHub

References