ملخص التنفيذ
تم اكتشاف ثغرات حرجة وعالية الخطورة في بنية flynas التحتية تشمل: تسريب IP الخادم الأصلي، كشف 20+ نقطة نهاية Azure داخلية، نظام إدارة الطاقم مكشوف على الإنترنت، والمزيد.
CRITICAL ثغرة C-01: تسريب بنية Microfrontend الكاملة
تم استخراج خريطة الـ Imports (Import Map) بالكامل من uat-apps.flynas.com، مما كشف عن 20+ رابط لخدمات Azure داخلية، مع تأكيد وجود CORS مفتوح عليها.
$ curl -s "https://uat-apps.flynas.com"
# كشف عن Import Map كامل:
@app/layout → app-layout-uat-frontend-westeurope.azurewebsites.net
@app/gpd → app-gpd-frontend-westeurope-fudbf0adb5gchhcd.westeurope-01.azurewebsites.net
@app/iam → app-iam-uat-frontend-westeurope-fqccekhgcxdmetd2.westeurope-01.azurewebsites.net
@app/sadad → app-sadad-frontend-westeurope.azurewebsites.net
@app/refund → app-refund-admin-uat-frontend-westeurope.azurewebsites.net
@app/crew-meal → app-crew-meal-frontend-uat-westeurope-efadfec6hadgcccj.westeurope-01.azurewebsites.net
@app/crew-control → app-crewcontrol-frontend-uat-westeurope-a5cjcvche6axbtgk.westeurope-01.azurewebsites.net
@app/sita-messages → app-sita-messages-front-uat-westurope.azurewebsites.net
@app/amos-interfaces → app-amos-interfaces-front-uat-westurope.azurewebsites.net
@app/jeppesen-interfaces → as-jeppesen-interfaces-frontend-uat-we-eahte2hac5avbycv.westeurope-01.azurewebsites.net
@app/baggage-management → app-baggagemanage-frontend-uat-hjb9byfjgmakbbcj.westeurope-01.azurewebsites.net
@app/digital-cabin → app-digital-cab-admin-front-uat-westeurope-f4eqgmfgh4c7h4fx.westeurope-01.azurewebsites.net
@app/settings → app-global-setting-uat-frontend-westeurope.azurewebsites.net
@app/einvoice → app-invoice-uat-frontend-westeurope.azurewebsites.net
@app/notification → app-notification-frontend-westeurope.azurewebsites.net
@app/flight-disruption → app-flight-disruption-frontend-uat-westeurope.azurewebsites.net
@app/catering-portal → app-catering-portal-frontend-uat-westeurope-eme7ezajc3e8a5gp.westeurope-01.azurewebsites.net
@app/chatbot-admin → flynaschb-adminca-qa.happyriver-3cb1d7d1.westeurope.azurecontainerapps.io
@app/chatbot-admin-uat → flynascb-frontend-admin-uat.redsand-c21a38f7.westeurope.azurecontainerapps.io
@app/chatbot-admin-preprod → flynaschb-prprd-admin-exgacqfqfmf8eha6.a02.azurefd.net
$ curl -sI "https://app-layout-uat-frontend-westeurope.azurewebsites.net"
# Access-Control-Allow-Origin: *
# Access-Control-Allow-Headers: Authorization
CRITICAL ثغرة C-02: تسريب IP الخادم الأصلي
تم اكتشاف الـ Origin IP لـ itsd.flynas.com من خلال البحث المفتوح، مما يسمح بالوصول المباشر للخادم وتجاوز حماية Cloudflare.
$ curl -sI "https://itsd.flynas.com"
HTTP/1.1 403 Forbidden
Server: cloudflare
Cf-Mitigated: challenge
CF-RAY: 9fbc09ab5849e1b7-MRS
$ curl -s "https://api.hackertarget.com/hostsearch/?q=flynas.com"
itsd.flynas.com,213.232.241.210
www.flynas.com,104.16.149.116
uat-apps.flynas.com,20.105.216.41
survey.flynas.com,20.50.2.92
ecrewaz.flynas.com,51.137.53.199
oicprod.flynas.com,158.101.226.152
help.flynas.com,20.105.216.45
$ curl -H "Host: itsd.flynas.com" "http://213.232.241.210"
HIGH ثغرة H-02: نظام إدارة الطاقم مكشوف
نظام ecrewaz.flynas.com مكشوف للإنترنت ويعمل على خوادم IIS. تم تسريب الـ Anti-forgery Token، وطريقة التشفير المحلية (SHA-512)، ومسار تسجيل الدخول المشفر.
$ curl -sI "https://ecrewaz.flynas.com"
# server: Microsoft-IIS/10.0
# ApplicationGatewayAffinityCORS cookie
# التوجيه التلقائي:
<meta http-equiv="refresh" content="0; URL='http://ecrewaz.flynas.com/ecrew'"/>
# مسار تسجيل الدخول المشفر:
/ecrew/Login/KpQ8xdXlR7ZRWLAPfO2Lz3XsEiwFso_D4b4j9ASi8G-QVGxt1-HK4r7FQr0ULolu
HIGH ثغرة H-01: nginx قديم + CORS
خادم survey.flynas.com يعمل بنسخة قديمة جدًا (nginx/1.17.1) والتي تحتوي على ثغرات (CVEs) معروفة. الخادم يمتلك إعدادات CORS غير آمنة ويكشف عن الـ Source Map للتطبيق.
$ curl -sI "https://survey.flynas.com"
# Server: nginx/1.17.1
# Access-Control-Allow-Origin: *
$ curl -sI "https://survey.flynas.com/static/js/main.a2a1d11d.js.map"
# HTTP/1.1 200 OK
MEDIUM الكشف عن البنية التحتية الشاملة
تم رسم خريطة لـ 53 نطاق فرعي تشمل بوابات داخلية، وخدمات سحابية متنوعة:
$ curl -sL --insecure "https://oicprod.flynas.com"
# إعادة توجيه إلى Oracle Cloud:
https://design.integration.me-jeddah-1.ocp.oraclecloud.com/?integrationInstance=prodint01-axrgu2j1ypmj-je
$ curl -s "https://help.flynas.com/en"
# Next.js SPA مع New Relic, PNR lookup, OTP