CVE-2026-141372 (GCVE-0-2026-141372)

Vulnerability from cvelistv5 – Published: 2026-12-01 16:50 – Updated: 2026-12-01 22:00 X_Open Source
VLAI
Title
Unlimited inflation of points, level and leaderboard position in The Hackers Labs Academy through repeatable awards for reversible actions
Summary
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.
SSVC
Exploitation: none Automatable: no Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-12-01 16:59 UTC
CWE
  • CWE-837 - Improper Enforcement of a Single, Unique Action
Assigner
Secur0 CNA under the INCIBE root
CNA scorecard A 98/100 over 51 records in the last 180 days details
References
Impacted products
Vendor Product Version CPE status
CuriosidadesDeHackers The Hackers Labs Academy Affected: fa3cf76e064bdf090a9f8dfc1e4f2c0059f2677b , < 52e19779274678b95945517dc11b73dfc4436257 (git)
guessed Create a notification for this product.
Date Public
2026-12-01 16:46
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-141372",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-12-01T16:59:53.195971Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-12-01T22:00:26.494Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "The Hackers Labs Academy",
          "programFiles": [
            "backend/apps/community/views.py",
            "backend/apps/classroom/views.py",
            "backend/apps/leaderboards/models.py"
          ],
          "repo": "https://github.com/CuriosidadesDeHackers/TheHackersLabs-Academy",
          "vendor": "CuriosidadesDeHackers",
          "versions": [
            {
              "lessThan": "52e19779274678b95945517dc11b73dfc4436257",
              "status": "affected",
              "version": "fa3cf76e064bdf090a9f8dfc1e4f2c0059f2677b",
              "versionType": "git"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "Jorge Rey @reddev"
        },
        {
          "lang": "en",
          "type": "analyst",
          "value": "Xo\u00e1n M. Otero Jorge"
        },
        {
          "lang": "en",
          "type": "analyst",
          "value": "Mario Alvarez"
        },
        {
          "lang": "en",
          "type": "coordinator",
          "value": "Secur0 CNA"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Manuel Mart\u00ednez Casasola"
        }
      ],
      "datePublic": "2026-12-01T16:46:00.000Z",
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "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. \u003ccode\u003eLikeToggleView\u003c/code\u003e (\u003ccode\u003ebackend/apps/community/views.py\u003c/code\u003e) creates a \u003ccode\u003eLeaderboardPoint\u003c/code\u003e of action \u003ccode\u003eLIKE_RECEIVED\u003c/code\u003e, worth 2 points, for the author of a post when a like is created; on the next call it deletes the \u003ccode\u003eLike\u003c/code\u003e 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\u0027s own post, and its only permission class is \u003ccode\u003eIsAuthenticated\u003c/code\u003e. \u003ccode\u003eMarkLessonCompleteView\u003c/code\u003e (\u003ccode\u003ebackend/apps/classroom/views.py\u003c/code\u003e) creates a \u003ccode\u003eLeaderboardPoint\u003c/code\u003e of action \u003ccode\u003eLESSON_COMPLETED\u003c/code\u003e, worth 20 points, under a guard on \u003ccode\u003eprogress.completed\u003c/code\u003e, while its \u003ccode\u003eDELETE\u003c/code\u003e method sets \u003ccode\u003ecompleted\u003c/code\u003e back to \u003ccode\u003eFalse\u003c/code\u003e 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. \u003ccode\u003eLeaderboardPoint.save\u003c/code\u003e recalculates \u003ccode\u003euser.points\u003c/code\u003e as the sum of every point row belonging to the user and persists it, the \u003ccode\u003elevel\u003c/code\u003e property of the user model derives from \u003ccode\u003euser.points\u003c/code\u003e, and \u003ccode\u003ebuild_ranking\u003c/code\u003e 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."
            }
          ],
          "value": "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\u0027s 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": [
        {
          "cvssV4_0": {
            "Automatable": "NOT_DEFINED",
            "Recovery": "NOT_DEFINED",
            "Safety": "NOT_DEFINED",
            "attackComplexity": "LOW",
            "attackRequirements": "NONE",
            "attackVector": "NETWORK",
            "baseScore": 5.3,
            "baseSeverity": "MEDIUM",
            "exploitMaturity": "NOT_DEFINED",
            "privilegesRequired": "LOW",
            "providerUrgency": "NOT_DEFINED",
            "subAvailabilityImpact": "NONE",
            "subConfidentialityImpact": "NONE",
            "subIntegrityImpact": "NONE",
            "userInteraction": "NONE",
            "valueDensity": "NOT_DEFINED",
            "vectorString": "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",
            "version": "4.0",
            "vulnAvailabilityImpact": "NONE",
            "vulnConfidentialityImpact": "NONE",
            "vulnIntegrityImpact": "LOW",
            "vulnerabilityResponseEffort": "NOT_DEFINED"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-837",
              "description": "CWE-837 Improper Enforcement of a Single, Unique Action",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-12-01T16:50:40.830Z",
        "orgId": "4daa8cea-433a-44bd-9456-53b127fc289a",
        "shortName": "Secur0"
      },
      "references": [
        {
          "tags": [
            "patch"
          ],
          "url": "https://github.com/CuriosidadesDeHackers/TheHackersLabs-Academy/commit/52e19779274678b95945517dc11b73dfc4436257"
        },
        {
          "tags": [
            "third-party-advisory",
            "technical-description"
          ],
          "url": "https://secur0.com/en/cna/cve-list/cve-2026-141372-unlimited-leaderboard-point-inflation-thehackerslabs-academy"
        }
      ],
      "solutions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "Update to commit \u003ccode\u003e52e19779274678b95945517dc11b73dfc4436257\u003c/code\u003e or later. Both award sites now use \u003ccode\u003eget_or_create\u003c/code\u003e instead of \u003ccode\u003ecreate\u003c/code\u003e, a \u003ccode\u003eUniqueConstraint\u003c/code\u003e on \u003ccode\u003euser\u003c/code\u003e, \u003ccode\u003eaction\u003c/code\u003e and \u003ccode\u003ereference_id\u003c/code\u003e 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."
            }
          ],
          "value": "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."
        }
      ],
      "source": {
        "discovery": "EXTERNAL"
      },
      "tags": [
        "x_open-source"
      ],
      "title": "Unlimited inflation of points, level and leaderboard position in The Hackers Labs Academy through repeatable awards for reversible actions",
      "x_generator": {
        "engine": "Vulnogram 1.0.5"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "4daa8cea-433a-44bd-9456-53b127fc289a",
    "assignerShortName": "Secur0",
    "cveId": "CVE-2026-141372",
    "datePublished": "2026-12-01T16:50:40.830Z",
    "dateReserved": "2026-12-01T16:36:30.180Z",
    "dateUpdated": "2026-12-01T22:00:26.494Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "The Hackers Labs Academy",
                "programFiles": [
                  "backend/apps/community/views.py",
                  "backend/apps/classroom/views.py",
                  "backend/apps/leaderboards/models.py"
                ],
                "repo": "https://github.com/CuriosidadesDeHackers/TheHackersLabs-Academy",
                "vendor": "CuriosidadesDeHackers",
                "versions": [
                  {
                    "lessThan": "52e19779274678b95945517dc11b73dfc4436257",
                    "status": "affected",
                    "version": "fa3cf76e064bdf090a9f8dfc1e4f2c0059f2677b",
                    "versionType": "git"
                  }
                ]
              }
            ],
            "source": "4daa8cea-433a-44bd-9456-53b127fc289a"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "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\u0027s 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."
          }
        ],
        "id": "CVE-2026-141372",
        "lastModified": "2026-12-01T22:18:02.460",
        "metrics": {
          "cvssMetricV40": [
            {
              "cvssData": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "NONE",
                "attackVector": "NETWORK",
                "availabilityRequirement": "NOT_DEFINED",
                "baseScore": 5.3,
                "baseSeverity": "MEDIUM",
                "confidentialityRequirement": "NOT_DEFINED",
                "exploitMaturity": "NOT_DEFINED",
                "integrityRequirement": "NOT_DEFINED",
                "modifiedAttackComplexity": "NOT_DEFINED",
                "modifiedAttackRequirements": "NOT_DEFINED",
                "modifiedAttackVector": "NOT_DEFINED",
                "modifiedPrivilegesRequired": "NOT_DEFINED",
                "modifiedSubAvailabilityImpact": "NOT_DEFINED",
                "modifiedSubConfidentialityImpact": "NOT_DEFINED",
                "modifiedSubIntegrityImpact": "NOT_DEFINED",
                "modifiedUserInteraction": "NOT_DEFINED",
                "modifiedVulnAvailabilityImpact": "NOT_DEFINED",
                "modifiedVulnConfidentialityImpact": "NOT_DEFINED",
                "modifiedVulnIntegrityImpact": "NOT_DEFINED",
                "privilegesRequired": "LOW",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X",
                "version": "4.0",
                "vulnAvailabilityImpact": "NONE",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "LOW",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "source": "4daa8cea-433a-44bd-9456-53b127fc289a",
              "type": "Secondary"
            }
          ],
          "ssvcV203": [
            {
              "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "ssvcData": {
                "id": "CVE-2026-141372",
                "options": [
                  {
                    "exploitation": "none"
                  },
                  {
                    "automatable": "no"
                  },
                  {
                    "technicalImpact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-12-01T16:59:53.195971Z",
                "version": "2.0.3"
              }
            }
          ]
        },
        "published": "2026-12-01T17:17:39.117",
        "references": [
          {
            "source": "4daa8cea-433a-44bd-9456-53b127fc289a",
            "url": "https://github.com/CuriosidadesDeHackers/TheHackersLabs-Academy/commit/52e19779274678b95945517dc11b73dfc4436257"
          },
          {
            "source": "4daa8cea-433a-44bd-9456-53b127fc289a",
            "url": "https://secur0.com/en/cna/cve-list/cve-2026-141372-unlimited-leaderboard-point-inflation-thehackerslabs-academy"
          }
        ],
        "sourceIdentifier": "4daa8cea-433a-44bd-9456-53b127fc289a",
        "vulnStatus": "Received",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-837"
              }
            ],
            "source": "4daa8cea-433a-44bd-9456-53b127fc289a",
            "type": "Secondary"
          }
        ]
      }
    }
  }
}


Solutions

CNA · Secur0
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.

Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.