New Zero Day Disclosed In WordPress Core Engine
Trailrunner7 writes: WordPress security issues have for the most part involved a vulnerable plug-in, but a Finnish researcher has disclosed some details on a zero-day vulnerability he discovered in the WordPress 4.2 and earlier core engine that could lead to remote code execution on the webserver. Juoko Pynnonen of Klikki Oy reported a new and unpatched stored cross-site scripting vulnerability in the platform; a similar bug was patched this week by WordPress developers, but only 14 months after it was reported. The vulnerability allows an attacker to inject JavaScript in the WordPress comment field; the comment has to be at least 66,000 characters long and it will be triggered when the comment is viewed, Pynnonen said.
"An unauthenticated attacker can store JavaScript on WordPress pages and blog posts. If triggered by an administrator, this leads to server-side code execution under default settings," Pynnonen said. "A usable comment form is required. It looks like the script is not executed in the admin Dashboard, but only when viewing the post/page where the comment was entered. If comment moderation is enabled (the default setting) then the comment won't appear on the page until it has been approved by an admin/moderator. Under default settings, after one 'harmless' comment is approved, the attacker is free from subsequent moderation and can inject the exploit to several pages and blog posts."
"An unauthenticated attacker can store JavaScript on WordPress pages and blog posts. If triggered by an administrator, this leads to server-side code execution under default settings," Pynnonen said. "A usable comment form is required. It looks like the script is not executed in the admin Dashboard, but only when viewing the post/page where the comment was entered. If comment moderation is enabled (the default setting) then the comment won't appear on the page until it has been approved by an admin/moderator. Under default settings, after one 'harmless' comment is approved, the attacker is free from subsequent moderation and can inject the exploit to several pages and blog posts."
Zero-day exploit? In word press? What a surprise. I totally didn't see that one coming.
I know it's fun and all to make fun of WordPress, and it is indeed a piece of garbage for multiple reasons. But this seems more a fault of highly liberal error handling on the part of Web browsers and MySQL.
From what I understand, MySQL truncated the input passed in without throwing any complaints that data was being lost.
Second, if the HTML pages were served under the more secure application/xhtml+xml media type, the compromised page wouldn't have been usable, because the malformed syntax would have produced a fatal error, instead of silently corrected (this is specified in HTML5, which IE supports now, woo).
I've seen more security vulnerabilities with text/html's silent fixing of errors than I can count, including a notable XSS attack because someone thought you don't need to HTML-encode URIs in hyperlinks... but this leads to funny behavior even with valid URIs like <http://example.com/doSomething?run©destination=baz> (if parsed as HTML, a copyright sign magically appears instead of the URL parameter you were intending).
Wonder what the public key field is for?
The vulnerability was already patched, just hours after being disclosed. WordPress 4.x applies security updates automatically.
For better or worse, WordPress is the most popular CMS and this makes it a prime target. Just like Windows.
Server side code execution?
I'm sure they mean client side, since I doubt word press is parsing and executing JavaScript on the server.
Whenever I see people accusing the Liberals for anything I get angry, very angry
It is the fault of the NEOCONs all the while
If not because of the goddamn NEOCONs everybody would have been using postgresql rather than that piece of turd mysql
And still we keep on using Wordpress. When will people start looking beyond a nice and shiny interface and put quality (which includes security) at the top of their priority list. When you made the first selection with that criterion, you can look for the most fancy interface. And don't give me the excuse of 'but my web editors have to be able to use it'. Bullshit, lame excuse. Fire them and hire more competent personnel or send them to a proper training.
It doesn't have to be like this. All we need to do is make sure we keep talking.
OTOH, an admin who administrates a blog site with a browser *and with Javascript enabled* just gets what (s)he deserves.
Zero-day vulnerabilities that keep popping up almost every day...
The two combined, it's no surprise websites are defaced all the time. We need a new paradigm here.
I used to offer WordPress as blog engine to my users. Like .... 7 or 8 years ago. And half of my time was spent updating, upgrading, and cleaning up after WordPress. After close to 1 year I had withdrawn this offer.
Is there no way to simply prohibit this piece of malware-spouting horribly bad architectured s**tware that seems to have been lingering about ever since?
It auto-updated today, probably in response to this.
How can this WordPress vuln be exploited to further leverage access to the underlying Operating System.
Louise was again guilty lying on the hammock relating to her Rio journey.
Doesn't "zero day" only really apply to attacks, not vulnerabilities themselves?
After all, every vulnerability is a zero day vulnerability on the day it's discovered/disclosed (and actually it seems there's no indication of whether or not WordPress already knew about this one).
And this one was disclosed yesterday (and may have been discovered much earlier) so it's at least a one-day vulnerability now.
systemd is Roko's Basilisk.
New Zero Day Discovered In WordPress Core Spagetti.
FTFY.
(Note: I currently make a living developing/deploying with WordPress)
We suffer more in our imagination than in reality. - Seneca
"discovered in the WordPress 4.2 and earlier core engine"
WordPress is on version 4.2.1 and makes automatic nightly updates and if comment moderation is turned on fully and always then this is not an issue.
Keep up-to-date.
Moderate comments.
Both of these practices are good for other reasons.
Reported a zero day used to attack my site two weeks ago. Attached tcpdump of attack.
Have not heard back. Not even a simple "We've received your report and will get around to it whenever".
Shachar