Description
Improper Enforcement of a Single, Unique Action (CWE-837) in the leaderboard award paths of The Hackers Labs Academy allows any authenticated user to raise their own points, level and leaderboard position without limit, by repeating an action they are able to reverse themselves. LikeToggleView (backend/apps/community/views.py) creates a LeaderboardPoint of action LIKE_RECEIVED, worth 2 points, for the author of a post when a like is created; on the next call it deletes the Like row and leaves the point in place, so a like, unlike and like again sequence adds 2 points per cycle. That view carries no check that the liker is not the author of the post, so the sequence can be run against the user's own post, and its only permission class is IsAuthenticated. MarkLessonCompleteView (backend/apps/classroom/views.py) creates a LeaderboardPoint of action LESSON_COMPLETED, worth 20 points, under a guard on progress.completed, while its DELETE method sets completed back to False without removing the point, so the guard passes again and a complete, uncomplete and complete again sequence adds 20 points per cycle; that path additionally requires an active membership. No negative or compensating event exists for a reversed action. LeaderboardPoint.save recalculates user.points as the sum of every point row belonging to the user and persists it, the level property of the user model derives from user.points, and build_ranking orders the top 50 by that same sum, so an inflated total carries into the level and into the weekly, monthly and global rankings. This results in the points, level and ranking position of an account being settable to any value by that account alone.
Published: 2026-12-01
Score: 5.3 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

Vendor Solution

Update to commit 52e19779274678b95945517dc11b73dfc4436257 or later. Both award sites now use get_or_create instead of create, a UniqueConstraint on user, action and reference_id backs that at the database level, each reversal path deletes the matching point row and recalculates the total, and a like no longer awards a point when the liker is the author of the post.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 01 Dec 2026 17:00:00 +0000

Type Values Removed Values Added
Description Improper Enforcement of a Single, Unique Action (CWE-837) in the leaderboard award paths of The Hackers Labs Academy allows any authenticated user to raise their own points, level and leaderboard position without limit, by repeating an action they are able to reverse themselves. LikeToggleView (backend/apps/community/views.py) creates a LeaderboardPoint of action LIKE_RECEIVED, worth 2 points, for the author of a post when a like is created; on the next call it deletes the Like row and leaves the point in place, so a like, unlike and like again sequence adds 2 points per cycle. That view carries no check that the liker is not the author of the post, so the sequence can be run against the user's own post, and its only permission class is IsAuthenticated. MarkLessonCompleteView (backend/apps/classroom/views.py) creates a LeaderboardPoint of action LESSON_COMPLETED, worth 20 points, under a guard on progress.completed, while its DELETE method sets completed back to False without removing the point, so the guard passes again and a complete, uncomplete and complete again sequence adds 20 points per cycle; that path additionally requires an active membership. No negative or compensating event exists for a reversed action. LeaderboardPoint.save recalculates user.points as the sum of every point row belonging to the user and persists it, the level property of the user model derives from user.points, and build_ranking orders the top 50 by that same sum, so an inflated total carries into the level and into the weekly, monthly and global rankings. This results in the points, level and ranking position of an account being settable to any value by that account alone.
Title Unlimited inflation of points, level and leaderboard position in The Hackers Labs Academy through repeatable awards for reversible actions
Weaknesses CWE-837
References
Metrics cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Secur0

Published:

Updated: 2026-12-01T16:50:40.830Z

Reserved: 2026-12-01T16:36:30.180Z

Link: CVE-2026-141372

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-12-01T17:17:39.117

Modified: 2026-12-01T17:17:39.117

Link: CVE-2026-141372

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses
  • CWE-837

    Improper Enforcement of a Single, Unique Action