Virtual Event: Threat Detection and Incident Response Summit - Watch Sessions
Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Application Security

Heroku Shares Details on Recent GitHub Attack

Platform-as-a-service company Heroku this week shared additional details on an April cyberattack that resulted in unauthorized access to multiple customers’ GitHub repositories.

Platform-as-a-service company Heroku this week shared additional details on an April cyberattack that resulted in unauthorized access to multiple customers’ GitHub repositories.

Initially disclosed in mid-April, the incident involved the theft of OAuth tokens issued to Heroku and Travis CI, which allowed the attackers to access the repositories of organizations using these two continuous integration (CI) systems.

In an updated incident notification, GitHub said the attack was highly targeted, given that the threat actors carefully listed all of the accessible repositories and only downloaded private repos from specific organizations.

According to Heroku, the attack started on April 7, when a threat actor abusing a compromised token for a Heroku machine account gained access to a company’s database, which resulted in the attackers downloading customer GitHub integration OAuth tokens.

“According to GitHub, the threat actor began enumerating metadata about customer repositories with the downloaded OAuth tokens on April 8, 2022. On April 9, 2022, the attacker downloaded a subset of the Heroku private GitHub repositories from GitHub, containing some Heroku source code,” the third-party integrator says.

GitHub notified Salesforce – Heroku is a Salesforce company – of the suspicious activity on April 13, one day after initially identifying it. On April 16, Heroky revoked all GitHub integration OAuth tokens, which essentially prevents customers from using the Heroku Dashboard or automation for the deployment of apps from GitHub

“We remain committed to ensuring the integration is secure before we re-enable this functionality,” the company says.

Advertisement. Scroll to continue reading.

During its own investigation into the incident, Salesforce discovered that the compromised token was also used to access a database and steal hashed and salted passwords for customers’ user accounts. Thus, it reset user passwords to keep accounts protected and also rotated internal Heroku credentials.

Shortly after the incident was made public, Travis CI announced that, while “a private application OAuth key used to integrate the Heroku and Travis CI application” was indeed compromised in the attack, that key “does not provide access to any Travis CI customer repositories or any Travis CI customer data.”

“We thoroughly investigated this issue and found no evidence of intrusion into a private customer repository (i.e. source code) as the OAuth key stolen in the Heroku attack does not provide that type of access. Based on what we have found, we do not believe this is an issue or risk to our customers,” Travis CI said.

Related: GitHub Says Recent Attack Was Highly Targeted

Related: IT Giant Globant Confirms Source Code Repository Breach

Related: Microsoft Confirms ‘NotLegit’ Azure Flaw Exposed Source Code Repositories

Written By

Ionut Arghire is an international correspondent for SecurityWeek.

Click to comment

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

SecurityWeek’s Threat Detection and Incident Response Summit brings together security practitioners from around the world to share war stories on breaches, APT attacks and threat intelligence.

Register

Securityweek’s CISO Forum will address issues and challenges that are top of mind for today’s security leaders and what the future looks like as chief defenders of the enterprise.

Register

Expert Insights

Related Content

Application Security

Cycode, a startup that provides solutions for protecting software source code, emerged from stealth mode on Tuesday with $4.6 million in seed funding.

Cybercrime

Luxury retailer Neiman Marcus Group informed some customers last week that their online accounts had been breached by hackers.

Cybercrime

The changing nature of what we still generally call ransomware will continue through 2023, driven by three primary conditions.

Cybercrime

A recently disclosed vBulletin vulnerability, which had a zero-day status for roughly two days last week, was exploited in a hacker attack targeting the...

Cybercrime

Satellite TV giant Dish Network confirmed that a recent outage was the result of a cyberattack and admitted that data was stolen.

Cybercrime

As it evolves, web3 will contain and increase all the security issues of web2 – and perhaps add a few more.

Cybercrime

Zendesk is informing customers about a data breach that started with an SMS phishing campaign targeting the company’s employees.

Management & Strategy

SecurityWeek examines how a layoff-induced influx of experienced professionals into the job seeker market is affecting or might affect, the skills gap and recruitment...