A single pull request could have handed attackers the keys to Microsoft’s software supply chain
A patched flaw in a moderation tool could have let attackers steal credentials through a single pull request.
Overview
Researchers found a critical flaw in the moderation tools used by Microsoft to manage WinGet, a package managerA developer tool that downloads, installs, and updates software libraries from a central registry installed on more than 1.4 billion devices. The vulnerabilityA flaw in software or hardware that lets an attacker do something the maker did not intend allowed an attacker to steal a moderator's GitHub access tokenA short-lived digital pass that a server gives a logged-in user or app by submitting a single pull requestA proposed set of code changes submitted to a software repository for maintainers to review and merge with a specific software installation address. This happened because an automated scriptA short program written in an interpreted language to automate tasks in a browser, shell, or application attached the secret token to any HTTP requestA message a browser or app sends to a web server to fetch or submit data without verifying the destination. The flaw required no phishingTricking people into handing over passwords or money through fake messages that look real or malwareSoftware built to steal data, spy on users, lock files, or take control of a computer, meaning the automated system itself became the entry point for the attack. The issue has been patchedA software update released by a developer to fix a bug or close a security flaw, and there is no evidence it was exploitedA piece of code or technique that uses a software flaw to break into or crash a system in the wild.
Terms in this story
- Package Manager
- A developer tool that downloads, installs, and updates software libraries from a central registry. Every major programming language has a package manager, and supply chain attackers target them by uploading trojanized libraries that install automatically when developers build an app.
- vulnerability
- A flaw in software or hardware that lets an attacker do something the maker did not intend. Security advisories report a vulnerability when researchers or attackers find a coding mistake in an app or server that allows someone to break in or crash it. Security+ objective 2.3 lists the term
- token
- A short-lived digital pass that a server gives a logged-in user or app. After you sign in once, your browser or app presents a token on each request, and if malware steals that token the attacker can act as you without knowing your password. Security+ objective 4.6 lists the term
- pull request
- A proposed set of code changes submitted to a software repository for maintainers to review and merge. In open-source security news, attackers sometimes submit a normal-looking pull request that hides a backdoor or exploits the project's automated test pipeline.
- script
- A short program written in an interpreted language to automate tasks in a browser, shell, or application. System administrators write scripts to automate daily maintenance, while attackers often use a script to download malware and disable security settings without dropping a compiled file.
- HTTP request
- A message a browser or app sends to a web server to fetch or submit data. Every link click, form submission, and API call travels as an HTTP request, and web attacks work by packing malicious headers or parameters inside that request.
- phishing
- Tricking people into handing over passwords or money through fake messages that look real. Attackers send fake emails or messages that copy a bank, school, or login page so a reader types in their password or opens a malicious attachment. Security+ objective 2.2 lists the term
- malware
- Software built to steal data, spy on users, lock files, or take control of a computer. News reports use malware as the umbrella term for viruses, ransomware, spyware, and trojans that criminals install on phones, laptops, or servers without permission. Security+ objective 2.4 lists the term
- patched
- A software update released by a developer to fix a bug or close a security flaw. When a software flaw is discovered, the vendor ships a patch so administrators and ordinary users can update their systems before attackers exploit the bug. Security+ objective 4.3 lists the term
- exploited
- A piece of code or technique that uses a software flaw to break into or crash a system. Finding a vulnerability is only the discovery of a weakness, whereas an exploit is the working code or sequence of inputs that triggers that weakness in practice. Security+ objective 2.4 lists the term
- keys
- The secret value that locks or opens a message. Many breach and ransomware stories come down to who holds the cryptographic key, since strong encryption protects data only as long as the key stays secret. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
- software supply chain
- All the open-source libraries, build tools, code repositories, and update servers that go into making a program. Protecting the software supply chain means making sure no attacker has tampered with the third-party packages, build pipelines, or signing keys used to ship an application.
This page is a short description made for this site. The article itself, with its author's name and its own link, is on the CSO Online website. Cite the article, not this page.
Read the full article on CSO Online (opens in a new tab)
Course connections
Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.
- Kind of story: Vulnerability and patch
"...now patched critical zero-click supply chain vulnerability..." Found by reading the article; these exact words are in it - Who is affected: "Microsoft..."
Copied word for word from the article - Security+ 2.2 Explain common threat vectors and attack surfaces.
"......handed attackers the keys to Microsoft’s software supply chain..." Found in the headline - Security+ 2.3 Explain various types of vulnerabilities.
"......handed attackers the keys to Microsoft’s software supply chain..." Found in the headline - Security+ 2.5 Explain the purpose of mitigation techniques used to secure the enterprise.
"......pen-testing company Cycode have discovered a now patched critical zero-click supply chain vulnerability in the..." Found in the opening sentences - Security+ 4.6 Given a scenario, implement and maintain identity and access management.
"......now be an automated script with powerful credentials and no idea where it's sending them...." Found in the opening sentences - Security+ 5.3 Explain the processes associated with third-party risk assessment and management.
"......handed attackers the keys to Microsoft’s software supply chain..." Found in the headline - CYBR 101 week 1: the course, logins and two-factor sign in, cyber roles and jobs
"......critical zero-click supply chain vulnerability in the open-source Windows Package Manager (WinGet), which sits on..." Found in the opening sentences - CYBR 101 week 11: penetration testing, OSINT, MITRE ATT&CK and hacking back
"......idea where it's sending them. Researchers from pen-testing company Cycode have discovered a now patched..." Found in the opening sentences - CYBR 101 week 2: the CIA triad, threat actors, risk and CVEs
"......a now patched critical zero-click supply chain vulnerability in the open-source Windows Package Manager (WinGet),..." Found in the opening sentences - CYBR 101 week 3: cyber hygiene, privacy, OSINT and social engineering
"......pen-testing company Cycode have discovered a now patched critical zero-click supply chain vulnerability in the..." Found in the opening sentences - CYBR 101 week 7: Linux, Windows, permissions and firewalls
"......zero-click supply chain vulnerability in the open-source Windows Package Manager (WinGet), which sits on billions..." Found in the opening sentences - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Work with stakeholders to resolve computer security incidents and vulnerability compliance.
"There is currently no evidence that the flaw has been exploited..." Found by reading the article; these exact words are in it - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Determine and document software patches or the extent of releases that would leave software vulnerable.
"...a now patched vulnerability in wingets moderation tooling..." Found by reading the article; these exact words are in it
How a story is connected to the course, and every objective, week and job role