حدود هذا الفحص
ما الذي يطلبه تَحَصَّنْ؟
يبدأ بطلب HEAD لمسار ثابت، ويستخدم GET محدوداً عند الحاجة مع نوع محتوى وتوقيع ومقارنة بخط أساس ثابت لمسار غير موجود مخصص.
متى تنطبق القاعدة؟
- The allowlisted /web.config path can be checked with a bounded HEAD gate and, only when needed, a bounded same-origin GET plus a custom-not-found baseline.
متى لا تنطبق؟
- The probe is disabled or the allowlisted path is not configured.
اختبار الاستغلال
لم يُختبر
ما الذي يرصده؟
يتحقق من جذر وأقسام web.config في استجابة محدودة ويستبعد صفحات HTML أو XML العامة المشابهة.
العبارات التقنية التالية مرتبطة بكتالوج المنهجية وإصدار القاعدة، لذلك تُعرض باتجاه LTR مع شرح عربي محيط بها.
- Allowlisted path
- Bounded request method and status
- Redacted final URL
- Normalized media type
- Bounded byte count
- Static signature identifier
- Custom-not-found comparison state
ماذا تثبت الملاحظة؟
- For a verified exposure only: a complete bounded XML/text response used an allowed media type, matched a web.config configuration root and section signature, differed from the structural custom-not-found fingerprint, and the baseline did not match the same target signature.
ماذا تعني نتيجة الاجتياز؟
تعني أن الشرط المسمى اجتاز على الاستجابة المرصودة فقط. لا تصف أمان الموقع كله ولا تختبر المسارات الأخرى.
ماذا تعني نتيجة المراجعة؟
تعني وجود حقيقة أو إشارة تحتاج إلى قراءة الدليل وسياق التطبيق. لا تعني تلقائياً وجود ثغرة قابلة للاستغلال.
توضيحات تمنع المبالغة
- حالة HTTP وحدها لا تكفي أبداً لإثبات تعرض ملف.
- تُرفض صفحات تسجيل الدخول وWAF وHTML العام وصفحات 200 المخصصة لغير الموجود عبر نوع المحتوى والتوقيع وخط الأساس.
- لا يعرض الفحص أو يحفظ محتوى الملف أو الأسماء أو القيم، ولا يختبر صلاحية اعتماد أو قابلية الاستغلال.
الأثر المحتمل
قد يكشف ملف إعداد فعلي تفاصيل تشغيل أو اعتماداً، لكن الفحص لا يوسع XML ولا يعرض القيم ولا يثبت نشاطها.
الشروط اللازمة لحدوث ضرر
- أن تنتمي الاستجابة المتحققة إلى إعداد فعلي للموقع لا إلى مثال أو ملف غير مستخدم.
- أن تحتوي البيانات على معلومات ما زالت حساسة أو قابلة للاستخدام؛ وهذا لا يختبره الفحص.
ما لم يُختبر أو يُثبت
- That returned settings are active
- That secrets or unsafe settings are present
- Demonstrated exploitability
قيود القاعدة
- The scanner performs deterministic text-shape checks rather than expanding XML entities and does not return or persist content, attributes, values, fingerprints, or changed redirect paths and parameters; conservative checks and the byte cap can produce false negatives.
الإجراء المقترح
التحقق في سياق التطبيق
- Review contextual signals manually; when Tahsan verifies the signature, remove public access and assess whether active configuration or credentials require remediation.
الفائدة المتوقعة
- Prevents a success status or generic XML/HTML page from becoming a false exposure claim.
أمثلة تمنع التفسير الخاطئ
The /web.config path returns the same 200 HTML shell as an unknown random path.
A matching generic response is not file evidence and must not become a verified exposure.
مراجع للتعلم
هذه المراجع تشرح المفهوم ولا تدخل وحدها في قرار القاعدة، ولا تثبت ثغرة أو امتثالاً.
- Review Old Backup and Unreferenced FilesOWASP WSTG · مرجع تعليمي فقطhttps://owasp.org/www-project-web-security-testing-guide/latest/4-Web_Application_Security_Testing/02-Configuration_and_Deployment_Management_Testing/04-Review_Old_Backup_and_Unreferenced_Files_for_Sensitive_Informationيفتح في نافذة جديدة
- CWE-200: Exposure of Sensitive InformationCWE · مرجع تعليمي فقطhttps://cwe.mitre.org/data/definitions/200.htmlيفتح في نافذة جديدة