Critical RCE Flaw Reported in Spotify’s Backstage Software Catalog and Developer Platform

Share:

Spotify’s Backstage has been discovered as vulnerable to a severe security flaw that could be exploited to gain remote code execution by leveraging a recently disclosed bug in a third-party module.

The vulnerability (CVSS score: 9.8), at its core, takes advantage of a critical sandbox escape in vm2, a popular JavaScript sandbox library (CVE-2022-36067 aka Sandbreak), that came to light last month.

“An unauthenticated threat actor can execute arbitrary system commands on a Backstage application by exploiting a vm2 sandbox escape in the Scaffolder core plugin,” application security firm Oxeye said in a report shared with The Hacker News.

Backstage is an open source developer portal from Spotify that allows users to create, manage, and explore software components from a unified “front door.” It’s used by many companies like Netflix, DoorDash, Roku, and Expedia, among others.

According to Oxeye, the flaw is rooted in a tool called software templates that can be used to create components within Backstage.

Bild6 6
Screenshot shows Backstage calling the renderTemplate function (that calls renderString2) twice in the event of an error.

While the template engine utilizes vm2 to mitigate the risk associated with running untrusted code, the sandbox escape flaw in the latter made it possible to execute arbitrary system commands outside of the security perimeter.

Oxeye said it was able to identify more than 500 publicly-exposed Backstage instances on the internet, which could then be remotely weaponized by an adversary without requiring any authorization.

Following responsible disclosure on August 18, the issue was addressed by the project maintainers in version 1.5.1 released on August 29, 2022.

“The root of any template-based VM escape is gaining JavaScript execution rights within the template,” the Israeli company noted. “By using ‘logic-less’ template engines such as Mustache, you can avoid introducing server-side template injection vulnerabilities.”

“Separating the logic from the presentation as much as possible can greatly reduce your exposure to the most dangerous template-based attacks,” it further added.

https://thehackernews.com/2022/11/critical-rce-flaw-reported-in-spotifys.html

Leave a Comment

Your email address will not be published. Required fields are marked *

loader-image
London, GB
10:35 am, Jul 10, 2025
weather icon 26°C
L: 25° | H: 27°
scattered clouds
Humidity: 51 %
Pressure: 1023 mb
Wind: 6 mph WNW
Wind Gust: 0 mph
UV Index: 0
Precipitation: 0 mm
Clouds: 28%
Rain Chance: 0%
Visibility: 10 km
Sunrise: 4:55 am
Sunset: 9:16 pm
DailyHourly
Daily ForecastHourly Forecast
Today 10:00 pm
weather icon
25° | 27°°C 0 mm 0% 7 mph 58 % 1023 mb 0 mm/h
Tomorrow 10:00 pm
weather icon
20° | 31°°C 0 mm 0% 8 mph 69 % 1021 mb 0 mm/h
Sat Jul 12 10:00 pm
weather icon
19° | 30°°C 0 mm 0% 10 mph 73 % 1018 mb 0 mm/h
Sun Jul 13 10:00 pm
weather icon
18° | 31°°C 0 mm 0% 5 mph 64 % 1015 mb 0 mm/h
Mon Jul 14 10:00 pm
weather icon
20° | 29°°C 1 mm 100% 15 mph 81 % 1018 mb 0 mm/h
Today 1:00 pm
weather icon
27° | 28°°C 0 mm 0% 5 mph 48 % 1023 mb 0 mm/h
Today 4:00 pm
weather icon
29° | 31°°C 0 mm 0% 6 mph 37 % 1022 mb 0 mm/h
Today 7:00 pm
weather icon
29° | 29°°C 0 mm 0% 7 mph 32 % 1020 mb 0 mm/h
Today 10:00 pm
weather icon
23° | 23°°C 0 mm 0% 7 mph 58 % 1021 mb 0 mm/h
Tomorrow 1:00 am
weather icon
20° | 20°°C 0 mm 0% 4 mph 64 % 1021 mb 0 mm/h
Tomorrow 4:00 am
weather icon
20° | 20°°C 0 mm 0% 3 mph 69 % 1021 mb 0 mm/h
Tomorrow 7:00 am
weather icon
21° | 21°°C 0 mm 0% 3 mph 64 % 1021 mb 0 mm/h
Tomorrow 10:00 am
weather icon
26° | 26°°C 0 mm 0% 3 mph 46 % 1021 mb 0 mm/h
Name Price24H (%)
Bitcoin(BTC)
€94,685.01
2.32%
Ethereum(ETH)
€2,370.68
6.60%
Tether(USDT)
€0.85
0.02%
XRP(XRP)
€2.09
5.02%
Solana(SOL)
€134.96
3.83%
USDC(USDC)
€0.85
0.01%
Dogecoin(DOGE)
€0.155198
6.30%
Shiba Inu(SHIB)
€0.000011
6.28%
Pepe(PEPE)
€0.000009
9.04%
Scroll to Top