This vulnerability can be exploited remotely over the network, with a regular user account, without any user interaction.
Impact is limited: modifying data.
✨ AI commentary
After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.
Official description
Improperly Controlled Modification of Dynamically-Determined Object Attributes (CWE-915) in CourseWriteSerializer (backend/apps/classroom/serializers.py) of The Hackers Labs Academy allows a user holding the instructor role who owns a course to reassign that course to any other account, through a PATCH to /api/classroom/courses/<id>/edit/ carrying an instructor value. The serializer lists instructor in Meta.fields while Meta.read_only_fields holds only id and slug, so the field is writable. IsAdminOrOwnerInstructor authorises who may issue the request, the owning instructor or an admin, and it runs before the update, but it does not restrict which attributes of the object an authorised request may change. The Course.instructor foreign key carries no limit_choices_to, so the target may be any user id, including an account that does not hold the instructor role, and the receiving account takes no part in the change. Once the value has changed, IsAdminOrOwnerInstructor resolves ownership from the new value on the next request, so the original owner is refused edit access to the course. This results in the ownership attribute of a course being set to a value the requester is not authorised to set, without the consent of the account it is set to.
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…
node-tar is a tar archive manipulation library for Node.js. From 7.5.22 until 8.0.0, an application that repacks attacker-controlled tar input through the documented archive-file input feature route and relies on an…
node-tar is a tar archive manipulation library for Node.js. From 7.5.17 until 8.0.0, during asynchronous extraction, string sanitization removes content after a NUL byte only within the same line. A line terminator…
Logitech Rally Bar/Rally Bar Mini/RoomMate/Rally Bar Huddle and Tap IP use a predictable BLE pairing PIN derived from information exposed by the device. Exploitation requires the attacker to be within BLE communication…
Coconut through 3.3.0 contains an untrusted search path vulnerability in its Jupyter kernelspec that allows attackers to execute code by placing a malicious coconut package beside a notebook. Because python -m…
better-auth 1.2.6-beta.8 before 1.7.16 contains an authentication bypass vulnerability in the phone-number plugin that allows unauthenticated attackers to verify arbitrary records by using caller-supplied phoneNumber…