A security flaw has been discovered in SourceCodester Pharmacy Sales and Inventory System 1.0. This affects an unknown part of the file /ajax.php?action=save_category. The manipulation of the argument ID results in sql injection. The attack may be launched remotely. The exploit has been released to the public and may be used for attacks.
A SQL injection vulnerability exists in SourceCodester Pharmacy Sales and Inventory System 1.0 through the /ajax.php?action=save_category endpoint, allowing remote attackers to manipulate the ID parameter. This publicly disclosed vulnerability poses a significant risk to organizations using this system for pharmacy operations.
يؤثر هذا الضعف على نظام إدارة المبيعات والمخزون في الصيدليات SourceCodester الإصدار 1.0 من خلال معامل ID غير المحقق في ملف ajax.php. يمكن للمهاجمين استغلال هذه الثغرة للوصول غير المصرح به إلى قاعدة البيانات وتعديل أو سرقة بيانات المرضى والأدوية. تم الإفصاح العلني عن هذا الضعف مما يزيد من خطر الاستغلال الفوري.
SourceCodester Pharmacy Sales and Inventory System 1.0 يحتوي على ثغرة حقن SQL في نقطة نهاية /ajax.php?action=save_category تسمح للمهاجمين بمعالجة معامل ID عن بعد. هذه الثغرة المعروفة علنًا تشكل خطرًا كبيرًا على المنظمات التي تستخدم هذا النظام.
Immediately upgrade SourceCodester Pharmacy Sales and Inventory System to a patched version. Implement input validation and parameterized queries for all database operations. Apply Web Application Firewall (WAF) rules to block SQL injection patterns. Conduct security audit of all /ajax.php endpoints and implement proper access controls.
قم بترقية نظام SourceCodester Pharmacy Sales and Inventory System فورًا إلى نسخة معدلة. طبق التحقق من صحة المدخلات والاستعلامات المحددة مسبقًا لجميع عمليات قاعدة البيانات. طبق قواعد جدار حماية تطبيقات الويب لحجب أنماط حقن SQL. أجرِ تدقيقًا أمنيًا لجميع نقاط نهاية /ajax.php وطبق عناصر تحكم وصول مناسبة.