Cybersecurity news

Jessica Doner

Back to the list

A single pull request could have handed attackers the keys to Microsoft’s software supply chain

CSO Online,

A patched flaw in a moderation tool could have let attackers steal credentials through a single pull request.

Vulnerabilities and patches

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.

How a story is connected to the course, and every objective, week and job role

Related