Przejdź do głównej zawartości

Posty

Wyświetlam posty z etykietą XSS

How to hack a LTE Router? Just text it!

How to hack a LTE Router? Just text it! The ZTE MF258 router can be taken over by an unauthenticated user through an SMS payload. LTE routers are equipped with SIM cards and phone numbers, allowing for the sending and receiving of SMS messages. During my testing, I discovered a vulnerability in which unauthenticated Stored XSS could occur by sending certain text messages to the router. I reported this bug to ZTE and it has been registered as CVE-2023–41781. The following firmware versions are vulnerable: 1) ZTE_STD_V1.0.0B10 2) ZTE_STD_V1.0.0B08 Exploitation is a straightforward process… Prerequisites This vulnerability can be exploited without authentication. All that is required is a phone (router) number and for the user to take action by reading new SMS messages through the Web Interface (as shown in picture 1). Vulnerability The table view displaying received SMS messages (picture 1) is vulnerable. 1. Vulnerable view — list of received messages As no escaping has been add...

WordPress Form Maker 1.6.5 - Stored XSS

W ostatnim czasie bawiłem się wtyczką do WordPressa o nazwie Form Maker (v1.6.5). Postanowiłem przejrzeć kod tej wtyczki i sprawdzić jego jakość oraz poziom zabezpieczenia danych przychodzących od użytkowników. Jak się okazuje poziom zabezpieczeń tego dodatku pozostawia wiele do życzenia (zresztą poziom jakości kodu źródłowego również). Wygenerowałem przy użyciu panelu zarządzania FormMaker'a formularz z jednym polem typu "select: oraz przyciski "submit" i "reset". Następnie dodałem widget do prawej kolumny bloga, efekt jest następujący:   W zasadzie pole to nie jest zabezpieczone w żaden sposób przed doklejeniem do wartości skryptu JS. Wartości te wpadają do tabelki wp_formmaker_submits do kolumny element_value. Użytkownik zarządzający (domyślnie administrator) może przeglądać w panelu WP statystyki utworzone na podstawie przesłanych przez użytkowników danych, oto przykład ( http://localhost/wordpress/wp-admin/admin.php?page=Form_maker_Submits ): ...