New Gogs zero-day flaw lets hackers get remote code execution
A zero-day flaw in the Gogs Git service lets authenticated attackers run remote code on exposed instances, with no patch available yet.
Overview
A critical security flaw in the Gogs software allows attackers to run commands on serversA computer or program on a network that stores data and responds to requests from client devices that have not been updated. Gogs is a tool used to manage code projects, and it is often set up to let anyone create an account without needing special permission. Because the software allows users to create repositories by default, an attacker can sign up, create a project, and trigger a specific action that breaks the system. This action lets the attacker run any code they want on the server, which gives them access to private data and other systems. The problem is that the people who maintain Gogs have not fixed the issue, even though they were told about it in March. More than 2,400 Gogs servers are currently exposed on the internet, with the majority located in Asia and Europe.
Terms in this story
- servers
- A computer or program on a network that stores data and responds to requests from client devices. Online stores, email systems, and multiplayer games all run on servers in data centers or the cloud, making unpatched servers a primary target for intruders.
- hackers
- A person who explores and manipulates computer systems, either as a criminal intruder or a security researcher. In news headlines, the word hacker usually means an unauthorized intruder, though the security community also uses it for researchers who find and fix flaws.
- remote code execution
- A flaw that lets an attacker run their own code on someone else's computer over a network. This is one of the most dangerous bug classes in the news because an attacker across the internet can send a crafted request and take control of a server.
- unpatched
- Running an older version of software that is missing a released security update for a known flaw. Even months after a vendor ships a fix, many breaches succeed because attackers scan the internet for unpatched servers that administrators have not updated yet. Security+ objective 2.3 lists the term
- zero-day vulnerability
- A software flaw that becomes known or used in attacks before the maker has released a fix. Security stories call a bug a zero-day when attackers exploit it in the wild while the software company has had zero days to write and ship a patch. Security+ objective 2.3 lists the term
- self-hosted
- Software that an organization installs and runs on its own servers instead of using a vendor's cloud service. Running a self-hosted password manager, code server, or chat platform gives a company full control over its data, but also means its own staff must install every security patch.
- code execution
- A flaw that lets an attacker run any commands or program they choose on the target machine. When an advisory warns that a bug allows arbitrary code execution, an attacker who triggers the flaw can install malware, read files, or take over the program's account.
- Internet-facing
- Reachable directly from the public internet without first logging in to a private internal network. Because automated scanners probe every public IP address within minutes, an unpatched flaw on an internet-facing VPN or web server is far riskier than one on an internal machine.
- 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
- CVE ID
- The public tracking code assigned to a specific known security flaw in software or hardware. Every cataloged software flaw gets a unique CVE label so security teams, vendors, and news reports can talk about the exact same bug without confusion. Security+ objective 2.3 lists the term
- authenticated
- A person or account that has already signed in with valid credentials. Some vulnerabilities cannot be triggered by a stranger on the internet and instead require an authenticated user who already holds at least a basic account on the system.
- admin privileges
- The highest permission level on a computer or network, allowing full control over software and settings. Attackers try to steal accounts with administrative privileges because those accounts can turn off antivirus tools, read any file, and install malware across the network.
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 BleepingComputer website. Cite the article, not this page.
Read the full article on BleepingComputer (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
"...zero-day vulnerability in the Gogs self-hosted Git service..." Found by reading the article; these exact words are in it - Security+ 2.3 Explain various types of vulnerabilities.
"New Gogs zero-day flaw lets hackers get remote code execution..." Found in the headline - CYBR 101 week 2: the CIA triad, threat actors, risk and CVEs
"New Gogs zero-day flaw lets hackers get remote code execution..." Found in the headline - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Skill in exploiting system vulnerabilities to escalate privileges.
"...allow attackers to gain remote code execution..." 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
Same story at other outlets
- Critical Gogs RCE Vulnerability Lets Any Authenticated User Execute Arbitrary Code
- Authenticated RCE via Argument Injection in Gogs (NOT FIXED)