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
11:34 pm, Jul 9, 2025
weather icon 22°C
L: 20° | H: 22°
overcast clouds
Humidity: 62 %
Pressure: 1022 mb
Wind: 4 mph SSW
Wind Gust: 6 mph
UV Index: 0
Precipitation: 0 mm
Clouds: 100%
Rain Chance: 0%
Visibility: 10 km
Sunrise: 4:54 am
Sunset: 9:16 pm
DailyHourly
Daily ForecastHourly Forecast
Tomorrow 10:00 pm
weather icon
20° | 22°°C 0 mm 0% 7 mph 68 % 1023 mb 0 mm/h
Fri Jul 11 10:00 pm
weather icon
20° | 31°°C 0 mm 0% 9 mph 64 % 1021 mb 0 mm/h
Sat Jul 12 10:00 pm
weather icon
18° | 29°°C 0 mm 0% 10 mph 72 % 1019 mb 0 mm/h
Sun Jul 13 10:00 pm
weather icon
17° | 29°°C 0 mm 0% 8 mph 58 % 1016 mb 0 mm/h
Mon Jul 14 10:00 pm
weather icon
19° | 30°°C 0 mm 0% 10 mph 83 % 1014 mb 0 mm/h
Tomorrow 1:00 am
weather icon
19° | 22°°C 0 mm 0% 1 mph 62 % 1022 mb 0 mm/h
Tomorrow 4:00 am
weather icon
17° | 20°°C 0 mm 0% 3 mph 65 % 1022 mb 0 mm/h
Tomorrow 7:00 am
weather icon
19° | 20°°C 0 mm 0% 3 mph 68 % 1023 mb 0 mm/h
Tomorrow 10:00 am
weather icon
25° | 25°°C 0 mm 0% 4 mph 52 % 1023 mb 0 mm/h
Tomorrow 1:00 pm
weather icon
28° | 28°°C 0 mm 0% 4 mph 38 % 1022 mb 0 mm/h
Tomorrow 4:00 pm
weather icon
30° | 30°°C 0 mm 0% 5 mph 32 % 1021 mb 0 mm/h
Tomorrow 7:00 pm
weather icon
29° | 29°°C 0 mm 0% 7 mph 33 % 1020 mb 0 mm/h
Tomorrow 10:00 pm
weather icon
23° | 23°°C 0 mm 0% 6 mph 55 % 1022 mb 0 mm/h
Name Price24H (%)
Bitcoin(BTC)
€95,076.74
2.09%
Ethereum(ETH)
€2,365.45
6.11%
Tether(USDT)
€0.86
0.01%
XRP(XRP)
€2.06
4.69%
Solana(SOL)
€134.75
4.29%
USDC(USDC)
€0.86
0.02%
Dogecoin(DOGE)
€0.155065
6.16%
Shiba Inu(SHIB)
€0.000010
5.01%
Pepe(PEPE)
€0.000009
10.57%
Scroll to Top