TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Multiple vulnerabilities in WP Fastest Cache plugin

127 pointsby decryptover 3 years ago

6 comments

hluskaover 3 years ago
This is not the first time that WP Fastest Cache has had a SQL injection vulnerability discovered.<p>Here’s a report on 0.8.4.8:<p><a href="https:&#x2F;&#x2F;www.acunetix.com&#x2F;vulnerabilities&#x2F;web&#x2F;wordpress-plugin-wp-fastest-cache-sql-injection-0-8-4-8&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.acunetix.com&#x2F;vulnerabilities&#x2F;web&#x2F;wordpress-plugi...</a><p>Here’s a report on 0.8.7.4:<p><a href="https:&#x2F;&#x2F;www.acunetix.com&#x2F;vulnerabilities&#x2F;web&#x2F;wordpress-plugin-wp-fastest-cache-sql-injection-0-8-7-4&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.acunetix.com&#x2F;vulnerabilities&#x2F;web&#x2F;wordpress-plugi...</a><p>I could go on (all night) but I trust you all get the point. I have two questions.<p>First, at what point can we say “Emre, you’re really bad at writing code. There are lots of other jobs. Find another.”<p>Second and more importantly for the future of the web, how can we as an industry protect innocent users from projects like this?? This monstrosity has over 1 million active installs and the chuckle head doesn’t have a fucking clue how to write SQL.
评论 #28875090 未加载
评论 #28875389 未加载
评论 #28878751 未加载
评论 #28876861 未加载
评论 #28874414 未加载
fabian2kover 3 years ago
That&#x27;s a very obvious SQL injection, and a completely unnecessary one. I don&#x27;t actually know how PHP handles this, but usually it&#x27;s really not any more work to pass parameters as parameters and not concatenate them into the SQL string. And SQL injections are not an obscure or difficult to understand subject, it&#x27;s probably the most obvious common security issue.<p>There are cases where it&#x27;s more annoying to do stuff in plain SQL and where you&#x27;d have to concatenate strings. But this is not one of them, is a simple parameter that needs to be passed to the query.
评论 #28875531 未加载
andris9over 3 years ago
How come it is still not illegal to concatenate values into SQL queries instead of doing prepared statements
评论 #28874322 未加载
评论 #28874319 未加载
评论 #28877469 未加载
radoover 3 years ago
How is WP still missing built-in cache, CDN, multilingual support…
评论 #28875974 未加载
评论 #28876822 未加载
评论 #28874636 未加载
评论 #28875391 未加载
评论 #28875873 未加载
评论 #28875652 未加载
评论 #28874742 未加载
billpgover 3 years ago
I&#x27;m a little surprised there isn&#x27;t a general purpose option inside Apache. I&#x27;d like to go into my .htaccess and say &quot;Any GET request that matches this regex, please cache and serve future requests from the cache for x seconds.&quot; (I&#x27;d set it to an hour normally and 6 hours if I&#x27;m on HN.)<p>That sort of thing would be perfect for WordPress and similar CMSs.
评论 #28877196 未加载
评论 #28876076 未加载
评论 #28876110 未加载
JimWestergrenover 3 years ago
And that is why I have forbidden third party WP plugins at the company I work for - no exception.<p>There is only 1 plugin and it is the one we write our self which take care of caching and all custom needs. Each line of code in that plugin is double checked and properly tested before going in production.
评论 #28878555 未加载