PT-2021-23650
CVE-2021-42669
·
تاريخ النشر
2021-11-05
·
تاريخ التحديث
2021-11-29
الوصف من
CVSS 2.0
10
عاليةالمقاييسAV:N/AC:L/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions
Sourcecodester Engineers Online Portal (affected versions not specified)
Description
A file upload issue exists, allowing attackers to change the avatar through
teacher avatar.php in dashboard teacher.php. Uploaded files are stored in the /admin/uploads/ directory and are accessible to all users. An attacker can upload a PHP webshell containing <?php system($ GET["cmd"]); ?> and execute commands on the web server by accessing the uploaded file, for example, /admin/uploads/php-webshell?cmd=id. This allows for command execution with potentially elevated privileges.Recommendations
As a temporary workaround, consider disabling the
teacher avatar.php functionality until a patch is available.
Restrict access to the /admin/uploads/ directory to minimize the risk of exploitation.
Avoid using the cmd parameter in the affected API endpoint until the issue is resolved.
At the moment, there is no information about a newer version that contains a fix for this vulnerability.قابلية الاستغلال
استغلال
التأثيرات
المورّدون
المنتجات المتأثرة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾