📧 info@ciso.sa | 📱 +966550939344 | Riyadh, Kingdom of Saudi Arabia
🔧 Scheduled Maintenance — Saturday 2:00-4:00 AM AST. Some features may be temporarily unavailable.    ●   
💎
Pro Plan 50% Off Unlock all AI features, unlimited reports, and priority support. Upgrade
Search Center
ESC to close
Global vulnerability Information Technology and Network Infrastructure CRITICAL 2h Global general All MEDIUM 3h Global general All MEDIUM 3h Global general All MEDIUM 4h Global general All MEDIUM 4h Global general All MEDIUM 4h Global general All MEDIUM 4h Global general All MEDIUM 4h Global general All MEDIUM 5h Global general All MEDIUM 5h Global vulnerability Information Technology and Network Infrastructure CRITICAL 2h Global general All MEDIUM 3h Global general All MEDIUM 3h Global general All MEDIUM 4h Global general All MEDIUM 4h Global general All MEDIUM 4h Global general All MEDIUM 4h Global general All MEDIUM 4h Global general All MEDIUM 5h Global general All MEDIUM 5h Global vulnerability Information Technology and Network Infrastructure CRITICAL 2h Global general All MEDIUM 3h Global general All MEDIUM 3h Global general All MEDIUM 4h Global general All MEDIUM 4h Global general All MEDIUM 4h Global general All MEDIUM 4h Global general All MEDIUM 4h Global general All MEDIUM 5h Global general All MEDIUM 5h
Vulnerabilities

CVE-2026-5640

Medium
CWE-74 — Weakness Type
Published: Apr 6, 2026  ·  Modified: Apr 9, 2026  ·  Source: NVD
CVSS v3
6.3
🔗 NVD Official
📄 Description (English)

A vulnerability has been found in PHPGurukul Online Shopping Portal Project 2.1. The affected element is an unknown function of the file /admin/update-image2.php of the component Parameter Handler. The manipulation of the argument filename leads to sql injection. The attack is possible to be carried out remotely. The exploit has been disclosed to the public and may be used.

🤖 AI Executive Summary

CVE-2026-5640 is a SQL injection vulnerability in PHPGurukul Online Shopping Portal Project 2.1 affecting the /admin/update-image2.php file through the filename parameter. With a CVSS score of 6.3 and publicly disclosed exploit details, this poses a medium-risk threat to e-commerce platforms in Saudi Arabia. No patch is currently available, requiring immediate compensating controls and input validation hardening.

📄 Description (Arabic)

🤖 AI Intelligence Analysis Analyzed: May 19, 2026 19:18
🇸🇦 Saudi Arabia Impact Assessment
This vulnerability primarily impacts Saudi e-commerce operators, online retailers, and small-to-medium enterprises (SMEs) using PHPGurukul for their shopping platforms. High-risk sectors include: retail/e-commerce platforms, payment processing integrations (affecting SAMA-regulated payment systems), and government procurement portals if deployed. Attackers could extract sensitive customer data, payment information, and administrative credentials, directly violating SAMA banking security requirements and NCA data protection mandates.
🏢 Affected Saudi Sectors
E-commerce and Retail Payment Processing (SAMA-regulated) Government Procurement Portals Small-to-Medium Enterprises (SMEs) Online Service Providers Digital Marketing Platforms
⚖️ Saudi Risk Score (AI)
6.8
/ 10.0
🔧 Remediation Steps (English)
IMMEDIATE ACTIONS:
1. Disable or restrict access to /admin/update-image2.php until patching is available
2. Implement Web Application Firewall (WAF) rules to block SQL injection patterns in filename parameters
3. Audit access logs for suspicious activity targeting the vulnerable endpoint

PATCHING GUIDANCE:
1. Contact PHPGurukul developers for security patches or migrate to patched version when available
2. Implement input validation: whitelist allowed filename characters (alphanumeric, dash, underscore only)
3. Use parameterized queries/prepared statements for all database operations
4. Apply principle of least privilege to database user accounts

COMPENSATING CONTROLS:
1. Deploy WAF rules: Block requests containing SQL keywords (UNION, SELECT, DROP, etc.) in filename parameter
2. Implement database activity monitoring (DAM) to detect anomalous queries
3. Enable SQL query logging and review for injection attempts
4. Restrict admin panel access via IP whitelisting and VPN requirements
5. Implement rate limiting on /admin/update-image2.php endpoint

DETECTION RULES:
1. Monitor for: filename parameter containing: ' OR 1=1, UNION SELECT, xp_cmdshell, etc.
2. Alert on: Multiple failed database queries from admin panel
3. Track: Unusual data exfiltration patterns from database
4. Log: All file upload attempts with SQL-like syntax in parameters
🔧 خطوات المعالجة (العربية)
الإجراءات الفورية:
1. تعطيل أو تقييد الوصول إلى /admin/update-image2.php حتى يتوفر التصحيح
2. تطبيق قواعد جدار حماية تطبيقات الويب (WAF) لحجب أنماط حقن SQL في معاملات اسم الملف
3. مراجعة سجلات الوصول للكشف عن النشاط المريب الموجه للنقطة الضعيفة

إرشادات التصحيح:
1. التواصل مع مطوري PHPGurukul للحصول على تصحيحات أمنية أو الترقية إلى نسخة مصححة
2. تطبيق التحقق من صحة المدخلات: السماح فقط بأحرف اسم الملف (أبجدي رقمي، شرطة، شرطة سفلية)
3. استخدام الاستعلامات المعاملة/البيانات المحضرة لجميع عمليات قاعدة البيانات
4. تطبيق مبدأ أقل امتياز على حسابات مستخدمي قاعدة البيانات

الضوابط التعويضية:
1. نشر قواعد WAF: حجب الطلبات التي تحتوي على كلمات SQL (UNION, SELECT, DROP) في معامل اسم الملف
2. تطبيق مراقبة نشاط قاعدة البيانات (DAM) للكشف عن الاستعلامات غير الطبيعية
3. تفعيل تسجيل استعلامات SQL ومراجعتها للكشف عن محاولات الحقن
4. تقييد وصول لوحة التحكم عبر قائمة بيضاء للعناوين وفرض متطلبات VPN
5. تطبيق تحديد معدل على نقطة النهاية /admin/update-image2.php

قواعد الكشف:
1. مراقبة: معامل اسم الملف يحتوي على: ' OR 1=1, UNION SELECT, xp_cmdshell
2. التنبيه على: استعلامات قاعدة بيانات متعددة فاشلة من لوحة التحكم
3. تتبع: أنماط تسرب بيانات غير عادية من قاعدة البيانات
4. تسجيل: جميع محاولات تحميل الملفات مع بناء جملة شبيهة بـ SQL في المعاملات
📋 Regulatory Compliance Mapping
🟢 NCA ECC 2024
ECC 2024 A.14.2.1 - Information security requirements for supplier relationships ECC 2024 A.14.2.5 - Addressing information security in supplier agreements ECC 2024 A.12.6.1 - Management of technical vulnerabilities ECC 2024 A.12.2.1 - Secure development policy
🔵 SAMA CSF
SAMA CSF ID.GV-1 - Organizational governance and risk management SAMA CSF PR.DS-1 - Data security and protection SAMA CSF PR.AC-1 - Access control and authentication SAMA CSF DE.CM-1 - Detection and monitoring of anomalies
🟡 ISO 27001:2022
ISO 27001:2022 A.5.1 - Policies for information security ISO 27001:2022 A.8.1 - User endpoint devices ISO 27001:2022 A.14.2 - Supplier relationships ISO 27001:2022 A.14.2.1 - Information security requirements in supplier agreements
🟣 PCI DSS v4.0.1
PCI DSS 6.5.1 - Injection flaws prevention PCI DSS 6.2 - Security patches and updates PCI DSS 11.3 - Penetration testing and vulnerability scanning
📊 CVSS Score
6.3
/ 10.0 — Medium
📊 CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Attack VectorN — None / Network
Attack ComplexityL — Low / Local
Privileges RequiredL — Low / Local
User InteractionN — None / Network
ScopeU — Unchanged
ConfidentialityL — Low / Local
IntegrityL — Low / Local
AvailabilityL — Low / Local
📋 Quick Facts
Severity Medium
CVSS Score6.3
CWECWE-74
EPSS0.03%
Exploit No
Patch ✗ No
Published 2026-04-06
Source Feed nvd
Views 4
🇸🇦 Saudi Risk Score
6.8
/ 10.0 — Saudi Risk
Priority: HIGH
🏷️ Tags
CWE-74
Share this CVE

💬 Comments

0
Loading comments
📣 Found this valuable?
Share it with your cybersecurity network
in LinkedIn 𝕏 X / Twitter 💬 WhatsApp ✈ Telegram
🍪 Privacy Preferences
CISO Consulting — Compliant with Saudi Personal Data Protection Law (PDPL)
We use cookies and similar technologies to provide the best experience on our platform. You can choose which types you accept.
🔒
Essential Always On
Required for the website to function properly. Cannot be disabled.
📋 Sessions, CSRF tokens, authentication, language preferences
📊
Analytics
Help us understand how visitors use the site and improve performance.
📋 Page views, session duration, traffic sources, performance metrics
⚙️
Functional
Enable enhanced features like content personalization and preferences.
📋 Dark/light theme, font size, custom dashboards, saved filters
📣
Marketing
Used to deliver content and ads relevant to your interests.
📋 Campaign tracking, retargeting, social media analytics
Privacy Policy →
CISO AI Assistant
Ask anything · Documents · Support
🔐

Introduce Yourself

Enter your details to access the full assistant

Your info is private and never shared
💬
CyberAssist
Online · responds in seconds
5 / 5
🔐 Verify Your Identity

Enter your email to receive a verification code before submitting a support request.

Enter to send · / for commands 0 / 2000
CISO AI · Powered by Anthropic Claude
✦ Quick Survey Help Us Improve CISO Consulting Your feedback shapes the future of our platform — takes less than 2 minutes.
⚠ Please answer this question to continue

How would you rate your overall experience with our platform?

Rate from 1 (poor) to 5 (excellent)

🎉
Thank you!
Your response has been recorded.