إرسال #894817: light0011 cms f72cf46f601efb2a0618c3814cc2f61380b38930 Improper Authenticationالمعلومات

عنوانlight0011 cms f72cf46f601efb2a0618c3814cc2f61380b38930 Improper Authentication
الوصف`App/Home/Model/UserModel.class.php:82-84` identifies the current user solely through `cookie('username')`, and `App/Home/Model/CommentModel.class.php:13-21` writes that cookie value as the comment author. The cookie helper in `ThinkPHP/Common/functions.php:1390-1415` stores and reads scalar cookie values without signing or encryption, while `Home/CommentController.class.php:8-16` performs no server-side user authentication. An attacker can send a manually chosen `username` cookie for an existing account and publish comments attributed to that account.
المصدر⚠️ https://github.com/light0011/cms/issues/11
المستخدم
 404my (UID 99931)
ارسال18/07/2026 08:28 AM (2 أشهر منذ)
الاعتدال06/09/2026 08:16 PM (2 months later)
الحالةتمت الموافقة
إدخال VulDB399479 [light0011 cms Cookie Helper UserModel.class.php أسم المستخدم توثيق ضعيف]
النقاط20

Do you want to use VulDB in your project?

Use the official API to access entries easily!