CVE-2026-141372 PUBLISHED

Unlimited inflation of points, level and leaderboard position in The Hackers Labs Academy through repeatable awards for reversible actions

Assigner: Secur0
Reserved: 01.12.2026 Published: 01.12.2026 Updated: 01.12.2026

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.

Metrics

CVSS 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
CVSS Score: 5.3

Product Status

Vendor CuriosidadesDeHackers
Product The Hackers Labs Academy
Versions Default: unaffected
  • affected from fa3cf76e064bdf090a9f8dfc1e4f2c0059f2677b to 52e19779274678b95945517dc11b73dfc4436257 (excl.)

Solutions

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.

Credits

  • Jorge Rey @reddev finder
  • Xoán M. Otero Jorge analyst
  • Mario Alvarez analyst
  • Secur0 CNA coordinator
  • Manuel Martínez Casasola remediation developer

References

Problem Types

  • CWE-837 Improper Enforcement of a Single, Unique Action CWE