**It is possible to create filters that can execute malicious Javascript code on users' computers. No update is envisaged for the moment.** <center> [Source](https://nakedsecurity.sophos.com/2016/02/01/adblocker-blockers-move-to-a-whole-new-level/)</center> ## The info Security researcher **Armin Sebastian** found a flaw in the **Adblock Plus**, **Adblock** and **uBlock** operation. Since **2018**, these extensions can rely on the *"$ rewrite"* option, which allows a filter to **modify HTTP** requests. Guardrails have been put in place to prevent this option from being exploited to execute malicious code. **The following criteria must be met for a web service to be exploitable using this method:** * The page must load a JS string using XMLHttpRequest or Fetch and execute the returned code * The page must not restrict origins from which it can fetch using Content Security Policy directives, or it must not validate the final request URL before executing the downloaded code * The origin of the fetched code must have a server-side open redirect or it must host arbitrary user content But it turns out that it is not enough. On some websites, it is still possible to execute malicious Javascript code. The researcher proved this by relying on a well-known site: **Google Maps.** In his example, the *"pirate"* filter brings up a Javascript warning window. <center> Bleeping Computers</center> ## What does this entail Advertising blocker filters come from different sources and are collaboratively created by volunteers. It would be enough for one of these volunteers to introduce a malicious filter into the filter lists to be able to execute code on many users’ computer. Alerted by the researcher, Google believes that the risk is not large enough to justify a modification of its mapping site. A conclusion that the researcher does not share. **He recommends using the uBlock Origin extension, which does not include the "$ rewrite" option.** Sources: [Armin Sebastian blog note](https://armin.dev/blog/2019/04/adblock-plus-code-injection/), [Bleeping Computers](https://www.bleepingcomputer.com/news/security/adblock-plus-filters-can-be-exploited-to-run-malicious-code/) <center>**Stay Informed, Stay Safe**</center> <center> </center> * **I've made a lot of articles with tools, explanations and advises to show you how to protect your privacy and to secure your computer, GO check them out!** * This is my guide [to secure your PC after a fresh installation of Windows](https://steemit.com/writing/@vijbzabyss/the-guide-to-secure-your-pc-after-a-fresh-installation-of-windows) * If you think that your [phone](https://steemit.com/writing/@vijbzabyss/how-to-tell-if-my-phone-has-been-hacked) **or** [your PC](https://steemit.com/writing/@vijbzabyss/that-s-how-you-can-know-if-you-have-been-hacked-or-to-prevent-further-attacks) has been hacked, you have to check it right now! * That's how you can be more [Anonymous on the internet!](https://steemit.com/writing/@vijbzabyss/be-anonymous-on-the-internet) * The [future of Cyber-Security](https://steemit.com/news/@vijbzabyss/big-news-the-future-of-cyber-security-what-to-expect), what to expect? * The best [crypto debit card – Wirex!](https://steemit.com/bitcoin/@vijbzabyss/the-best-crypto-visa-card-wirex-review) * These are the best VPN to protect your numeric life: [NordVPN](https://steemit.com/writing/@vijbzabyss/the-nordvpn-test-or-full-review-and-speed-test), [ExpressVPN](https://steemit.com/writing/@vijbzabyss/expressvpn-vpn-full-test-or-why-is-it-also-a-good-choice) and [CyberGhost](https://steemit.com/writing/@vijbzabyss/cyberghost-vpn-full-test-or-6-month-free)! * Your PC is slow? [That's why!](https://steemit.com/writing/@vijbzabyss/why-is-a-pc-slow-what-you-need-to-know-before-anything-else) * Why is it important to [be discreet on the Internet](https://steemit.com/writing/@vijbzabyss/why-is-it-important-to-be-discreet-on-the-internet) * The [4 security measure to put in place on your WIFI router](https://steemit.com/writing/@vijbzabyss/the-4-security-measures-to-put-in-place-on-your-wifi-router) * The [security guide everyone must have on holidays!](https://steemit.com/writing/@vijbzabyss/the-security-guide-everyone-must-have-on-holidays) * Feel hot? Your [computer also!](https://steemit.com/writing/@vijbzabyss/you-are-hot-your-computer-also) * How an [adware](https://steemit.com/writing/@vijbzabyss/how-an-adware-works) works? * That's how you should guard against [Trojan!](https://steemit.com/writing/@vijbzabyss/that-s-how-you-should-guard-against-trojan-if-you-care-about-you-money-and-your-privacy) * Why [antiviruses are not your friend?!](https://steemit.com/writing/@vijbzabyss/why-antivirus-is-not-your-friend) * Basics tools to protect your [privacy](https://steemit.com/writing/@vijbzabyss/basics-tools-to-protect-your-privacy-and-your-computer) and your [computer](https://steemit.com/blog/@vijbzabyss/free-software-to-ensure-good-basic-security) * What are the different [types of hackers?](https://steemit.com/writing/@vijbzabyss/the-different-types-of-hackers) <center></center>
author | vijbzabyss |
---|---|
permlink | news-a-flaw-in-ad-blockers-can-execute-arbitrary-code |
category | news |
json_metadata | {"tags":["news","adblock","security","privacy","javascript"],"image":["https://cdn.steemitimages.com/DQmWvrvJyzwKii9SgRKLW6xA7GTWVUXduAvm3jo7Vm4K8G4/stop-1200.png","https://cdn.steemitimages.com/DQmTJaMS4NV6CsEvmRSjtjHspGMidKu9tKYqL5ZphhsTomW/984.jpg","https://cdn.steemitimages.com/DQmTmwRbJG8FrWYFpkLR9GKTDcQAD1peWkCsLcCotMiBoqm/DQmdpsoEfLe5nRg4Q1oKWHNjLdMnAucCYfRou1yF5Yiwrzs.png","https://cdn.steemitimages.com/DQmRZu8dBVp3kJarLxAfrd4FMS58W6NwqrRwCVn6jRVwHMp/DQmNuF3L71zzxAyJB7Lk37yBqjBRo2uafTAudFDLzsoRV5L.gif"],"links":["https://nakedsecurity.sophos.com/2016/02/01/adblocker-blockers-move-to-a-whole-new-level/","https://armin.dev/blog/2019/04/adblock-plus-code-injection/","https://www.bleepingcomputer.com/news/security/adblock-plus-filters-can-be-exploited-to-run-malicious-code/","https://steemit.com/writing/@vijbzabyss/the-guide-to-secure-your-pc-after-a-fresh-installation-of-windows","https://steemit.com/writing/@vijbzabyss/how-to-tell-if-my-phone-has-been-hacked","https://steemit.com/writing/@vijbzabyss/that-s-how-you-can-know-if-you-have-been-hacked-or-to-prevent-further-attacks","https://steemit.com/writing/@vijbzabyss/be-anonymous-on-the-internet","https://steemit.com/news/@vijbzabyss/big-news-the-future-of-cyber-security-what-to-expect","https://steemit.com/bitcoin/@vijbzabyss/the-best-crypto-visa-card-wirex-review","https://steemit.com/writing/@vijbzabyss/the-nordvpn-test-or-full-review-and-speed-test","https://steemit.com/writing/@vijbzabyss/expressvpn-vpn-full-test-or-why-is-it-also-a-good-choice","https://steemit.com/writing/@vijbzabyss/cyberghost-vpn-full-test-or-6-month-free","https://steemit.com/writing/@vijbzabyss/why-is-a-pc-slow-what-you-need-to-know-before-anything-else","https://steemit.com/writing/@vijbzabyss/why-is-it-important-to-be-discreet-on-the-internet","https://steemit.com/writing/@vijbzabyss/the-4-security-measures-to-put-in-place-on-your-wifi-router","https://steemit.com/writing/@vijbzabyss/the-security-guide-everyone-must-have-on-holidays","https://steemit.com/writing/@vijbzabyss/you-are-hot-your-computer-also","https://steemit.com/writing/@vijbzabyss/how-an-adware-works","https://steemit.com/writing/@vijbzabyss/that-s-how-you-should-guard-against-trojan-if-you-care-about-you-money-and-your-privacy","https://steemit.com/writing/@vijbzabyss/why-antivirus-is-not-your-friend","https://steemit.com/writing/@vijbzabyss/basics-tools-to-protect-your-privacy-and-your-computer","https://steemit.com/blog/@vijbzabyss/free-software-to-ensure-good-basic-security","https://steemit.com/writing/@vijbzabyss/the-different-types-of-hackers"],"app":"steemit/0.1","format":"markdown"} |
created | 2019-04-16 13:59:27 |
last_update | 2019-04-16 13:59:27 |
depth | 0 |
children | 0 |
last_payout | 2019-04-23 13:59:27 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 11.004 HBD |
curator_payout_value | 3.499 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 5,740 |
author_reputation | 82,953,946,677,196 |
root_title | "// NEWS // A Flaw in Ad Blockers Can Execute Arbitrary Code" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 83,201,594 |
net_rshares | 23,992,103,045,125 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
africa | 0 | 584,321,855,266 | 100% | ||
glitterfart | 0 | 21,387,795,875,767 | 100% | ||
penguinpablo | 0 | 128,994,207,320 | 5% | ||
destbest | 0 | 1,467,827,386,480 | 100% | ||
perpeper | 0 | 242,581,899,237 | 100% | ||
elviento | 0 | 498,377,148 | 0.7% | ||
skepticology | 0 | 5,011,477,697 | 100% | ||
trenz | 0 | 107,317,938 | 1% | ||
kromtar | 0 | 39,471,029,730 | 18% | ||
jadabug | 0 | 1,682,037,306 | 1% | ||
accelerator | 0 | 14,581,469,783 | 0.91% | ||
miti | 0 | 38,844,221,835 | 8% | ||
sahil07 | 0 | 1,517,481,174 | 3.1% | ||
may0201 | 0 | 3,450,271,478 | 50% | ||
cryptonized | 0 | 18,570,519,945 | 5% | ||
alucare | 0 | 25,811,523,142 | 100% | ||
ezravandi | 0 | 3,096,642,149 | 1% | ||
vijbzabyss | 0 | 11,586,509,644 | 100% | ||
heimapowcu | 0 | 540,629,403 | 100% | ||
icdayforlo | 0 | 544,551,435 | 100% | ||
elraberscer | 0 | 553,061,677 | 100% | ||
nicole5lw | 0 | 531,079,341 | 100% | ||
chloef85 | 0 | 552,128,886 | 100% | ||
emma0tx09 | 0 | 536,982,795 | 100% | ||
steemchoose | 0 | 3,954,929,079 | 2.14% | ||
jasmine9ws | 0 | 552,134,010 | 100% | ||
emmad6 | 0 | 532,986,575 | 100% | ||
jessicami | 0 | 528,555,336 | 100% | ||
tgagtacontcon | 0 | 533,550,346 | 100% | ||
lidothele1975 | 0 | 542,567,690 | 100% | ||
contsimilti | 0 | 533,022,536 | 100% | ||
everfenha | 0 | 530,838,396 | 100% | ||
melamoonspe | 0 | 537,253,857 | 100% | ||
nataliend | 0 | 546,410,959 | 100% | ||
votes4minnows | 0 | 561,261,150 | 1% | ||
hdu | 0 | 1,032,038,144 | 1% | ||
ifof | 0 | 518,805,642 | 100% | ||
itousedes | 0 | 518,754,177 | 100% | ||
irniedol | 0 | 518,449,263 | 100% | ||
inale | 0 | 518,398,996 | 100% | ||
bigmoneyman | 0 | 149,428,459 | 1.07% | ||
engrjenn | 0 | 320,888,733 | 100% | ||
mk25 | 0 | 117,568,735 | 100% | ||
trex1443 | 0 | 46,666,466 | 50% |