CVE-2026-5436
WysokieCVSS 8.1Prawdopodobieństwo exploitacji (EPSS)
Podwyższone ryzykoPercentyl 61 - wyżej niż 61% wszystkich znanych CVE
Streszczenie
Podatność we wtyczce MW WP Form dla WordPressa w wersjach do 5.1.1. Niewystarczająca walidacja parametru $name pozwala nieuwierzytelnionemu atakującemu na przeniesienie dowolnych plików na serwerze, co może prowadzić do zdalnego wykonania kodu.
Ocena ryzyka
Atakujący może przenieść wrażliwe pliki, takie jak wp-config.php, do katalogu uploads, co umożliwia zdalne wykonanie kodu i pełne przejęcie kontroli nad witryną WordPress.
Rekomendacja
Zaktualizuj wtyczkę MW WP Form do najnowszej wersji. Jeśli to niemożliwe, tymczasowo wyłącz opcję 'Saving inquiry data in database' i usuń pola uploadu plików z formularzy.
Inne podatności w MW WP Form
Zobacz wszystkie- CVE-2026-78364Nieznane
Wtyczka MW WP Form dla WordPressa przed wersją 5.1.6 nie sanityzuje i nie escapuje niektórych ustawień formularzy przed ich wyświetleniem na stronie panelu administracyjnego, co może pozwolić użytkownikom z rolą co najmniej Edytora na przeprowadzanie ataków Stored Cross-Site Scripting przeciwko użytkownikom z wyższymi uprawnieniami, takim jak administrator.
- CVE-2026-48871Wysokie
W wersjach MW WP Form <= 5.1.3 występuje podatność na nieautoryzowane ataki Cross Site Scripting (XSS). Atakujący może wykorzystać tę lukę do wstrzykiwania złośliwego kodu JavaScript.
Oryginalny opis (angielski, źródło NVD)
The MW WP Form plugin for WordPress is vulnerable to Arbitrary File Move/Read in all versions up to and including 5.1.1. This is due to insufficient validation of the $name parameter (upload field key) passed to the generate_user_file_dirpath() function, which uses WordPress's path_join() — a function that returns absolute paths unchanged, discarding the intended base directory. The attacker-controlled key is injected via the mwf_upload_files[] POST parameter, which is loaded into the plugin's Data model via _set_request_valiables(). During form processing, regenerate_upload_file_keys() iterates over these keys and calls generate_user_filepath() with the attacker-supplied key as the $name argument — the key survives validation because the targeted file (e.g., wp-config.php) genuinely exists at the absolute path. The _get_attachments() method then re-reads the same surviving keys and passes the resolved file path to move_temp_file_to_upload_dir(), which calls rename() to move the file into the uploads folder. This makes it possible for unauthenticated attackers to move arbitrary files on the server, which can easily lead to remote code execution when the right file is moved (such as wp-config.php). The vulnerability is only exploitable if a file upload field is added to the form and the “Saving inquiry data in database” option is enabled.

