Pemasangan Pembaruan Keamanan WordPress Masih Sisakan Celah Serangan Bagi Sejumlah Situs
Summary
The installation process of security updates for the WordPress platform has been identified to temporarily leave an attack window for certain websites. This issue relates to the mechanism of extracting update files into a temporary directory (wp-content/upgrade). If this directory is web-accessible during the update process, attackers can exploit a race condition to access installer files and execute arbitrary PHP code. CISA has added the vulnerability associated with this issue to its Known Exploited Vulnerabilities (KEV) Catalog.
Affected Products
- WordPress (vulnerable installations prior to fixed releases, including versions before WordPress 7.1.4)
Technical Details
- WordPress downloads update packages and extracts files into the temporary directory
wp-content/upgradebefore transferring them to the main installation directory. - If the
wp-content/upgradedirectory is publicly accessible via HTTP during the update, attackers can attempt to access installer files before the temporary directory is deleted. - Exploitation relies on a race condition during the time window when the update is being processed. Attackers send HTTP requests to set up a temporary WordPress installation and execute PHP code under the web server process permissions.
- When applying the update for the first time on a vulnerable site, the process initially runs using the updater mechanism of the active vulnerable version, leaving a temporary window of exposure.
- This issue is associated with CVE-2026-119977.
Impact
- Unauthorized access to site files (reading or modifying WordPress installation files).
- Injection of malicious code or scripts (malware) onto the site.
- Disruption of web services and site configurations.
- Potential further server compromise depending on the web server process execution privileges.
Mitigation
- Update WordPress to the latest version containing security fixes (such as WordPress 7.1.4 or relevant version branch updates).
- Restrict direct web/internet access to the
wp-content/upgradedirectory without disrupting local update operations executed by WordPress. - Monitor web server logs for abnormal HTTP requests targeting temporary directories or WordPress installer files.
- Perform file integrity checks on WordPress core files, plugins, themes, and administrator accounts.
- Perform regular backups of site files and databases.
- Verify post-update status to ensure patches are applied correctly and no suspicious activities exist.
References
- [1] The Hacker News (6 November 2026): https://thehackernews.com/2026/11/installing-fix-for-exploited-wordpress.html
- [2] Cybersecurity and Infrastructure Security Agency (CISA) (3 November 2026): https://content.govdelivery.com/accounts/USDHSCISA/bulletins/4318a48
- [3] The Hacker News (4 November 2026): https://thehackernews.com/2026/11/cisa-confirms-hackers-exploiting.html
- [4] Picus Security (5 November 2026) - CVE-2026-119977: https://www.picussecurity.com/resource/blog/cve-2026-119977-when-updating-wordpress-becomes-the-vulnerability
- [5] WordPress.org (28 October 2026) - WordPress 7.1.4: https://wordpress.org/news/2026/10/wordpress-7-1-4/
Advisory ini disajikan tim ICT Cybersecurity PT Pertamina Bina Medika IHC sebagai informasi kesadaran keamanan. Verifikasi pada sumber resmi sebelum tindakan.