Connect with us
X
Categories:

Technology

GitHub Actions workflow flaws gave applications like Logstash write access

Published

on

GitHub Actions workflow flaws gave applications like Logstash write access
Share this post:

Malicious builds and wider infrastructural compromise were worst-case scenarios.

Security researchers have identified multiple workflows in popular continuous integration and development (CI/CD) service GitHub Actions that are vulnerable to command execution.

A research team from dating platform Tinder crafted an automation script that unearthed flaws that enabled the exfiltration of secrets that provide write access to various open source GitHub repositories, including Elastic’s Logstash.

A blog post documenting the findings was penned by Rojan Rijal, Johnny Nipper, and Tanner Emek – respectively red teamer, senior product security manager, and engineering manager at Tinder.

The trio told Daily Swig that “in the worst case scenario, you can exploit a vulnerable workflow to retrieve the GITHUB_TOKEN value”, which has read/write access to the repository by default. “This can be used to push a malicious build against users and perform supply chain related exploits.”

If more sensitive access secrets within the workflow such as AWS credentials, API Keys, or service credentials were exposed, “this could lead to a compromise of a company’s infrastructure”, they added.

The most common cause of vulnerabilities was unsafe user inputs in run scripts. The researchers also found many examples where pull_request_target was misused, which among other things could bypass a 2019 fix for an issue related to the use of event handlers in forked repositories.

The research focused on projects with vulnerability disclosure policies, with validated vulnerabilities responsibly reported to projects. Elastic’s security team quickly deactivated the vulnerable workflow and confirmed no abuse had occurred, said the researchers.

GitHub Workflow Auditor

Tinder Security Labs has open sourced the tool used for the research. GitHub Workflow Auditor checks workflows for unsafe user inputs, malicious commits, and secrets.

Given the limitations of comparable, existing tools, the authors told Daily Swig that they “focused on covering most vulnerability cases in GitHub Actions as well as efficiency. As such, we allow organizations to scan all of their repositories at once by providing a GitHub API key. This reduces time and effort for security teams”.

RECOMMENDED  Open-Xchange issues fixes for RCE, SSRF bugs in OX App Suite

The tool also addressed a supply chain risk posed by workflows running actions from old GitHub accounts. “In such cases, attackers can claim the account and push malicious actions allowing them to get access to the repository and its workflows,” the researchers explained. “This specific case was not covered by the tools that we tested.”

They added: “Our goal at Tinder Labs is to identify high impact vulnerabilities in a wide array of technologies which have global impact. As we research other technologies, you can expect to see more findings and tools from us in the future.”

Mitigations

The researchers urged developers to properly sanitize user inputs in GitHub Actions and mitigate attacks by limiting GitHub Tokens’ access scope.

GitHub Security Lab has, meanwhile, previously recommended that pull_request_target only be used when developers “need the privileged context of the target repo” in their workflow.

Tinder Security Labs’ findings follow the disclosure in March of misconfigured GitHub Actions workflows that caused critical flaws in dozens of repos, and a GitHub Actions patch in January for a code review safeguard bypass.


Get More Stories Like This On: Facebook: @AllNaijaEntertainment, Twitter: @AllNaijaEntertainment
Man who set Ugandan runner Rebecca Cheptegei on fire dies in hospital
Sports1 hour ago

Man who set Ugandan runner Rebecca Cheptegei on fire dies in hospital

European stock markets falls at open
News2 hours ago

European stock markets falls at open

Tesla’s Supercharger stations considered "illegal" in Germany
Automobile3 hours ago

Tesla To Launch Its Full Self Driving Feature In Europe And China Early 2025

Manchester United star Rasmus Hojlund faces delay to injury return
Sports15 hours ago

Manchester United star Rasmus Hojlund faces delay to injury return

William Gallas blames Raheem Sterling for Chelsea ousting
Sports16 hours ago

William Gallas blames Raheem Sterling for Chelsea ousting

Apple Watch Ultra 2 gets a new black color and new straps
Technology16 hours ago

Apple Watch Ultra 2 gets a new black color and new straps

Germany to expand border measures to stem irregular migration
News20 hours ago

Germany to expand border measures to stem irregular migration

The Apple Store website breaks down just hours before the launch of iPhone 16
Technology20 hours ago

The Apple Store website breaks down just hours before the launch of iPhone 16

3,391 Civil Servants to take promotion examinations in Kaduna
News20 hours ago

3,391 Civil Servants to take promotion examinations in Kaduna

Shehu Sani denounces the DSS raid on SERAP’s office
News21 hours ago

Shehu Sani denounces the DSS raid on SERAP’s office

Noel Gallagher could sell catalogue of songs for £200m after Oasis reunion
Entertainment24 hours ago

Noel Gallagher could sell catalogue of songs for £200m after Oasis reunion

Noel Gallagher added ‘grumpy middle-aged man’ to the National Portrait Gallery
Entertainment1 day ago

Noel Gallagher added ‘grumpy middle-aged man’ to the National Portrait Gallery

Kendrick Lamar creates history by headlining the 2025 Super Bowl Halftime solo performance
Entertainment1 day ago

Kendrick Lamar creates history by headlining the 2025 Super Bowl Halftime solo performance

Elon Musk pegs the first manned Starship flight to Mars for 2028 with a colony to follow in 20 years
Technology2 days ago

Elon Musk pegs the first manned Starship flight to Mars for 2028 with a colony to follow in 20 years

Amazon Fire Stick users have found a brilliant technique to control their TVs
Technology2 days ago

Amazon Fire Stick users have found a brilliant technique to control their TVs

Arsenal suffer injury scare as Riccardo Calafiori withdraws from Italy squad
Sports2 days ago

Arsenal suffer injury scare as Riccardo Calafiori withdraws from Italy squad

Todd Boehly and Clearlake Capital at breaking point
Sports2 days ago

Todd Boehly and Clearlake Capital at breaking point

Amanda Abbington ‘burning’ at BBC for ‘boys club’ Giovanni Pernice bullying probe
Entertainment2 days ago

Amanda Abbington ‘burning’ at BBC for ‘boys club’ Giovanni Pernice bullying probe

Tributes flows in as Legendary 70s bassist Herbie Flowers dies at age 86
Entertainment2 days ago

Tributes flows in as Legendary 70s bassist Herbie Flowers dies at age 86

Elton John praises Donald Trump for using one of his songs
Entertainment2 days ago

Elton John praises Donald Trump for using one of his songs

Dangote refinery may dump local market
News2 days ago

Dangote refinery may dump local market

Survivors of Yobe massacre: Decomposing bodies still litter our community after terrorist attack
News2 days ago

Survivors of Yobe massacre: Decomposing bodies still litter our community after terrorist attack

US seeks access to ailing Binance executive
News2 days ago

US seeks access to ailing Binance executive

Real Reason why Petrol from Dangote Refinery is Colorless
News2 days ago

Real Reason why Petrol from Dangote Refinery is Colorless

GTA 6 document provides a complete analysis of all leaks
Technology3 days ago

GTA 6 document provides a complete analysis of all leaks

Tecno Pocket Go recognized for award-winning innovation in AR gaming
Technology3 days ago

Tecno Pocket Go recognized for award-winning innovation in AR gaming

Jamal Musiala confirms Joshua Zirkzee tried to get him to sign for Manchester United
Sports3 days ago

Jamal Musiala confirms Joshua Zirkzee tried to get him to sign for Manchester United

US Open: Jack Draper reveals what made him throw up on court
Sports3 days ago

US Open: Jack Draper reveals what made him throw up on court

Edo State Government suspends school resumption over fuel price hike
News3 days ago

Edo State Government suspends school resumption over fuel price hike

Dangote Refinery
Business3 days ago

Dangote Refinery: NUPENG Vows Protection

Toyota Corolla One Of The Best-selling Cars Of All Time And For Good Reason
Automobile3 days ago

Toyota Cuts EV Target For 2026

Nigerian nurses in the UK, US forced back home
News3 days ago

Nigerian nurses in the UK, US forced back home

FG to construct blood collection facilities in 774 LGs
News3 days ago

FG to construct blood collection facilities in 774 LGs

Certain traits and contentious behaviors James Bond can’t have anymore in 2024
Entertainment3 days ago

Certain traits and contentious behaviors James Bond can’t have anymore in 2024

Nancy Isime revealed her initial fear of fame
Entertainment3 days ago

Nancy Isime revealed her initial fear of fame

Alex Unusual: I didn't leave social media because of AY pregnancy rumors
Entertainment3 days ago

Alex Unusual: I didn’t leave social media because of AY pregnancy rumors

New Xiaomi 10000 Power Bank, 33W with built-in cable arrives
Technology4 days ago

New Xiaomi 10000 Power Bank, 33W with built-in cable arrives

Vivo Y300 Pro packs 6,500 mAh battery in a slim 7.69mm body
Technology4 days ago

Vivo Y300 Pro packs 6,500 mAh battery in a slim 7.69mm body

Liam Gallagher warns fans complaining about 'rip off' Oasis ticket prices to 'shut up'
Entertainment4 days ago

Liam Gallagher warns fans complaining about ‘rip off’ Oasis ticket prices to ‘shut up’

Dequantes Lamar popularly know as Rich Homie Quan, dies at 33
Entertainment4 days ago

Dequantes Lamar popularly know as Rich Homie Quan, dies at 33

Rema donates N105m to home church for supporting family after dad’s death
Entertainment7 days ago

Rema donates N105m to home church for supporting family after dad’s death

Pope Francis to stop ‘abomination’ tradition — Morrissey
Entertainment6 days ago

Pope Francis to stop ‘abomination’ tradition — Morrissey

Oasis fans told they can sue Ticketmaster over dynamic pricing following formal complaints
Entertainment6 days ago

Oasis fans told they can sue Ticketmaster over dynamic pricing following formal complaints

One of the best movie of 2024 dropping on Netflix in a few days
Entertainment7 days ago

One of the best movie of 2024 dropping on Netflix in a few days

United Kingdom universities face financial crisis
News5 days ago

United Kingdom universities face financial crisis

Anthony Martial offered ‘biggest deal in club’s history’ after Manchester United exit
Sports6 days ago

Anthony Martial offered ‘biggest deal in club’s history’ after Manchester United exit

Chelsea Logo
Sports6 days ago

Chelsea struggling to offload five more stars to meet final transfer target

Nigerian nurses in the UK, US forced back home
News3 days ago

Nigerian nurses in the UK, US forced back home

Goddess of Pop, Cher in talks to headline Glastonbury’s legends slot in 2025
Entertainment6 days ago

Goddess of Pop, Cher in talks to headline Glastonbury’s legends slot in 2025

Injury breaks Doheny's hopes against Naoya Inoue
Sports7 days ago

Injury breaks Doheny’s hopes against Naoya Inoue

Pope calls for an end to extremism on Asian tour
News6 days ago

Pope calls for an end to extremism on Asian tour

3,590 inmates on death row in Nigeria — NCoS
News6 days ago

3,590 inmates on death row in Nigeria — NCoS

I regret shredding my NCE certificate — Fatima Musa
News6 days ago

I regret shredding my NCE certificate — Fatima Musa

Rivers State gets new NSCDC commandant
News5 days ago

Rivers State gets new NSCDC commandant

Katy Perry lambasted for her 'grotesque' justification for collaborating with Dr Luke
Entertainment5 days ago

Katy Perry lambasted for her ‘grotesque’ justification for collaborating with Dr Luke

Volvo
Automobile4 days ago

Volvo To Become Electric-Only Brand 2030

Manchester United star reveals classy message from Sir Alex Ferguson
Sports5 days ago

Manchester United star reveals classy message from Sir Alex Ferguson

CAC warns unregistered PoS operators as the grace period expires
News4 days ago

CAC warns unregistered PoS operators as the grace period expires

Google Pixel 9 Pro XL facing touchscreen issues
Technology6 days ago

Google Pixel 9 Pro XL facing touchscreen issues

Chelsea star Noni Madueke responds to Enzo Maresca raising concern over his training performances
Sports7 days ago

Chelsea star Noni Madueke responds to Enzo Maresca raising concern over his training performances

Acer presents new Vero PD2-series projectors with up to 18% more brightness than previous generation
Technology6 days ago

Acer presents new Vero PD2-series projectors with up to 18% more brightness than previous generation

Ford
Automobile4 days ago

Ford Can Now Show Advertisements In Cars

Alex Unusual: I didn't leave social media because of AY pregnancy rumors
Entertainment3 days ago

Alex Unusual: I didn’t leave social media because of AY pregnancy rumors

Mercury Prize Award 2024 winner revealed in emotional outpouring
Entertainment5 days ago

Mercury Prize Award 2024 winner revealed in emotional outpouring

Succession star’s ‘sinister’ horror film terrifies Netflix viewers
Entertainment4 days ago

Succession star’s ‘sinister’ horror film terrifies Netflix viewers

Hunter Biden pleads guilty as the tax evasion trial starts
News5 days ago

Hunter Biden pleads guilty as the tax evasion trial starts

Six inmates studying for PhD, 1,000 pursuing university degrees – NCoS
News4 days ago

Six inmates studying for PhD, 1,000 pursuing university degrees – NCoS

Certain traits and contentious behaviors James Bond can’t have anymore in 2024
Entertainment3 days ago

Certain traits and contentious behaviors James Bond can’t have anymore in 2024

Roy Keane makes prediction over Casemiro’s Manchester United future
Sports5 days ago

Roy Keane makes prediction over Casemiro’s Manchester United future

The reason I left Chelsea — Conor Gallagher
Sports4 days ago

The reason I left Chelsea — Conor Gallagher

Dangote Refinery
Business3 days ago

Dangote Refinery: NUPENG Vows Protection

UNICEF claims Primary healthcare can tackle 90% of diseases
Health5 days ago

UNICEF claims Primary healthcare can tackle 90% of diseases

Nancy Isime revealed her initial fear of fame
Entertainment3 days ago

Nancy Isime revealed her initial fear of fame

FG to construct blood collection facilities in 774 LGs
News3 days ago

FG to construct blood collection facilities in 774 LGs

Xiaomi POCO M7 Pro 5G in new pre-launch leak
Technology5 days ago

Xiaomi POCO M7 Pro 5G in new pre-launch leak

Dequantes Lamar popularly know as Rich Homie Quan, dies at 33
Entertainment4 days ago

Dequantes Lamar popularly know as Rich Homie Quan, dies at 33

Edo State Government suspends school resumption over fuel price hike
News3 days ago

Edo State Government suspends school resumption over fuel price hike

US Open: Jack Draper reveals what made him throw up on court
Sports3 days ago

US Open: Jack Draper reveals what made him throw up on court

Vivo Y300 Pro packs 6,500 mAh battery in a slim 7.69mm body
Technology4 days ago

Vivo Y300 Pro packs 6,500 mAh battery in a slim 7.69mm body

Katsina State ready to implement new minimum wage — Dikko Radda
News4 days ago

Katsina State ready to implement new minimum wage — Dikko Radda

ANE Billboard Hots