SAP S/4HANA(On-Premise) contains SQL injection vulnerability in a remote-enabled function module component that could be exploited by an authenticated attacker to potentially execute unauthorized database queries.This flaw exposes sensitive information to which they should not otherwise have access to. The vulnerability has a high impact on the confidentiality of the data with no impact on the integrity and availability of the application.
SAP S/4HANA On-Premise contains a SQL injection vulnerability (CVE-2026-44744) in a remote-enabled function module that allows authenticated attackers to execute unauthorized database queries and access sensitive data. With a CVSS score of 6.5 and no available patch, this poses an immediate confidentiality risk to Saudi organizations relying on SAP systems for critical business operations. The vulnerability requires authentication but presents significant data exposure risks across financial, government, and energy sectors.
IMMEDIATE ACTIONS:
1. Inventory all SAP S/4HANA On-Premise installations across your organization and identify systems with remote-enabled function modules
2. Restrict access to affected remote-enabled function modules through SAP authorization controls (PFCG roles) - limit to essential personnel only
3. Implement network-level access controls: restrict connectivity to S/4HANA systems to authorized networks/VPNs only
4. Enable and review SAP audit logs (SM37, ST03N) for suspicious database query patterns and unauthorized access attempts
5. Conduct immediate access review of all user accounts with authorization to affected function modules
COMPENSATING CONTROLS (until patch available):
6. Implement database-level SQL injection prevention: enable SAP database parameter 'sql_trace' and monitor for anomalous queries
7. Deploy Web Application Firewall (WAF) rules to detect SQL injection patterns in SAP function module calls
8. Implement database activity monitoring (DAM) solution to detect unauthorized queries and data exfiltration
9. Apply principle of least privilege: remove unnecessary database privileges from SAP application accounts
10. Enable SAP Gateway security: restrict RFC (Remote Function Call) access and implement RFC gateway filtering
DETECTION RULES:
11. Monitor SAP security audit logs for: failed authentication attempts, privilege escalation, unusual RFC calls to affected modules
12. Create SIEM rules to detect: SQL keywords in function module parameters, unusual database query volumes, data extraction patterns
13. Monitor database logs for: queries with UNION/SELECT statements, attempts to access sensitive tables (USR*, BKPF, VBAK)
14. Alert on: multiple failed authorization checks, access to function modules outside business hours, bulk data queries
PATCHING STRATEGY:
15. Monitor SAP Security Patch Day (second Tuesday of month) for CVE-2026-44744 patch release
16. Establish SAP patch testing environment and validate patch in non-production before deployment
17. Plan maintenance window for patch deployment with change management approval
18. Post-patch: re-test compensating controls and validate vulnerability remediation
الإجراءات الفورية:
1. قم بحصر جميع تثبيتات SAP S/4HANA On-Premise في مؤسستك وحدد الأنظمة التي تحتوي على وحدات دوال مفعلة عن بعد
2. قيد الوصول إلى وحدات الدوال المتأثرة من خلال عناصر التحكم في التفويض في SAP (أدوار PFCG) - حصر الوصول على الموظفين الأساسيين فقط
3. تطبيق عناصر التحكم في الوصول على مستوى الشبكة: تقييد الاتصال بأنظمة S/4HANA إلى الشبكات المصرح بها فقط/VPN
4. تفعيل ومراجعة سجلات التدقيق في SAP (SM37, ST03N) للبحث عن أنماط استعلامات قاعدة البيانات المريبة ومحاولات الوصول غير المصرح بها
5. إجراء مراجعة فورية للوصول لجميع حسابات المستخدمين التي لديها تفويض للوحدات المتأثرة
عناصر التحكم البديلة (حتى توفر التصحيح):
6. تطبيق منع حقن SQL على مستوى قاعدة البيانات: تفعيل معامل قاعدة البيانات في SAP 'sql_trace' ومراقبة الاستعلامات الشاذة
7. نشر قواعد جدار حماية تطبيقات الويب (WAF) للكشف عن أنماط حقن SQL في استدعاءات وحدات SAP
8. تطبيق حل مراقبة نشاط قاعدة البيانات (DAM) للكشف عن الاستعلامات غير المصرح بها وتسرب البيانات
9. تطبيق مبدأ أقل امتياز: إزالة الامتيازات غير الضرورية لقاعدة البيانات من حسابات تطبيق SAP
10. تفعيل أمان بوابة SAP: تقييد الوصول إلى RFC (استدعاء الدالة البعيدة) وتطبيق تصفية بوابة RFC
قواعد الكشف:
11. مراقبة سجلات تدقيق أمان SAP للبحث عن: محاولات المصادقة الفاشلة، تصعيد الامتيازات، استدعاءات RFC غير العادية للوحدات المتأثرة
12. إنشاء قواعد SIEM للكشف عن: كلمات SQL في معاملات وحدة الدالة، أحجام استعلامات قاعدة البيانات غير العادية، أنماط استخراج البيانات
13. مراقبة سجلات قاعدة البيانات للبحث عن: استعلامات تحتوي على عبارات UNION/SELECT، محاولات الوصول إلى الجداول الحساسة (USR*, BKPF, VBAK)
14. التنبيه عند: فحوصات التفويض المتعددة الفاشلة، الوصول إلى وحدات الدوال خارج ساعات العمل، استعلامات استخراج البيانات بكميات كبيرة
استراتيجية التصحيح:
15. مراقبة يوم تصحيح أمان SAP (الثلاثاء الثاني من الشهر) لإصدار تصحيح CVE-2026-44744
16. إنشاء بيئة اختبار تصحيح SAP والتحقق من صحة التصحيح في بيئة غير الإنتاج قبل النشر
17. التخطيط لنافذة صيانة لنشر التصحيح مع موافقة إدارة التغيير
18. بعد التصحيح: إعادة اختبار عناصر التحكم البديلة والتحقق من معالجة الثغرة الأمنية