Mozilla has announced another bold step towards ensuring better security for users. This time, they will be fending off code injection attacks by making changes to the Firefox browser.
Changes In Firefox Browser Against Code Injection Attacks
In a recent post, Mozilla has revealed some major changes to the Firefox browser. These changes will help Mozilla make Firefox secure against code injection attacks.
Specifically, the changes include removal of ‘potentially dangerous artifacts’ such as ‘inline scripts’ and ‘eval()-like functions’. By doing so, they strive to ‘reduce the attack surface’ and harden the code.
Removing Inline Scripts
As stated in the blog post,
Removing eval()-like Functions
In another attempt to reduce the attack surface, Mozilla decides to remove a ‘powerful yet dangerous tool’ – eval()-like Functions.
According to the blog,
To further minimize the attack surface in Firefox and discourage the use of eval() we rewrote all use of ‘eval()’-like functions from system privileged contexts and from the parent process in the Firefox codebase. Additionally we added assertions, disallowing the use of ‘eval()’ and its relatives in system-privileged script contexts.
Besides, during their assessment, they noticed some uses of eval to customize Firefox start up via unintended tricks. So, for such cases, they assure allowing usage of eval().
Let us know your thoughts in the comments.
Latest posts by Abeerah Hashim (see all)
- Macy’s Became The Latest Victim Of MageCart Attack - November 20, 2019
- Google Patched “Awesome” XSS Vulnerability Found In Gmail Dynamic Email Feature - November 19, 2019
- Another WhatsApp Vulnerability Could Allow Installation of Spyware Through MP4 Videos - November 19, 2019