• Menu
  • Skip to main content
  • Skip to primary sidebar

The Cyber Security News

Latest Cyber Security News

Header Right

  • Latest News
  • Vulnerabilities
  • Cloud Services
network wide security flaw discovered in npm package

Network-wide security flaw discovered in NPM package

You are here: Home / General Cyber Security News / Network-wide security flaw discovered in NPM package
September 7, 2021

Application code downloaded approximately three million moments just about every week could permit hackers to remotely execute code on a victim’s procedure.

The code in query is the popular NPM bundle “pac-resolver.” The flaw, which could allow for hackers on a community network to execute arbitrary code within just a Node.js course of action whenever it tries to make an HTTP ask for, was identified by developer Tim Perry.

The deal is utilised for PAC file aid in Pac-Proxy-Agent, which is made use of in Proxy-Agent. This is the normal for HTTP proxy automobile-detection and configuration in Node.js. The bundle is applied thoroughly, from AWS’s CDK toolkit to the Mailgun SDK to the Firebase CLI, and it racks up to three million downloads every week.

✔ Approved Seller From Our Partners
Mullvad VPN Discount

Protect your privacy by Mullvad VPN. Mullvad VPN is one of the famous brands in the security and privacy world. With Mullvad VPN you will not even be asked for your email address. No log policy, no data from you will be saved. Get your license key now from the official distributor of Mullvad with discount: SerialCart® (Limited Offer).

➤ Get Mullvad VPN with 12% Discount


Perry identified the bug whilst including proxy support to HTTP Toolkit. The flaw affects software that depends on Pac-Resolver just before v5.. (even transitively) in a Node.js application. 

The flaw influences any code making use of PAC data files for proxy configuration or regardless of what proxy configuration is made use of by the target working method that takes advantage of the WPAD protocol or a  proxy configuration from an untrusted supply.

“In any of all those scenarios, an attacker (by configuring a malicious PAC URL, intercepting PAC file requests with a malicious file, or using WPAD [Web Proxy Auto-Discovery Protocol]) can remotely run arbitrary code on your laptop any time you ship an HTTP ask for utilizing this proxy configuration,” Perry additional.

The Pac-Proxy-Agent would not sandbox PAC scripts effectively, according to Perry. Internally, it utilizes two modules — Pac-Resolver and Degenerator — from the exact same creator to build the PAC functionality. This indicates code functioning in a single JavaScript digital device could obtain exterior information in the primary node.js software, as a result a remote code execution bug in the proxy configuration approach.

“If you might be in this circumstance, you will need to update (to Pac-Resolver v5 and/or Proxy-Agent v5) correct now,” mentioned Perry.

When it will come to so-termed offer chain bugs of this kind, “you can outsource the coding, but you just can’t outsource the responsibility” wrote Paul Ducklin, principal analysis scientist at Sophos

“Some bugs are only uncovered since another person determined to acquire a watchful seem, as Tim Perry did below,” he additional.

The vulnerability, formally named  CVE-2021-23406, has since been set in v5.. of all those people offers.


Some components of this short article are sourced from:
www.itpro.co.uk

Previous Post: «fbi still frowns on ransomware payments Ragnar Locker group vows to leak data if victim calls police or FBI
Next Post: ID Theft Couple on the Run Cyber Security News»

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Report This Article

Recent Posts

  • Chinese Hackers Have Started Exploiting the Newly Disclosed React2Shell Vulnerability
  • Intellexa Leaks Reveal Zero-Days and Ads-Based Vector for Predator Spyware Delivery
  • “Getting to Yes”: An Anti-Sales Guide for MSPs
  • CISA Reports PRC Hackers Using BRICKSTORM for Long-Term Access in U.S. Systems
  • JPCERT Confirms Active Command Injection Attacks on Array AG Gateways
  • Silver Fox Uses Fake Microsoft Teams Installer to Spread ValleyRAT Malware in China
  • ThreatsDay Bulletin: Wi-Fi Hack, npm Worm, DeFi Theft, Phishing Blasts— and 15 More Stories
  • 5 Threats That Reshaped Web Security This Year [2025]
  • GoldFactory Hits Southeast Asia with Modified Banking Apps Driving 11,000+ Infections
  • Record 29.7 Tbps DDoS Attack Linked to AISURU Botnet with up to 4 Million Infected Hosts

Copyright © TheCyberSecurity.News, All Rights Reserved.