Monday, October 5, 2026

1-Click Oracle Cloud Code Editor RCE Flaw Allows Malicious File Upload to Shell

Tenable Research has disclosed a critical Remote Code Execution (RCE) vulnerability in Oracle Cloud Infrastructure’s Code Editor that enabled attackers to silently hijack victim Cloud Shell environments through a single malicious link.

The vulnerability, which has since been remediated by Oracle, could have allowed threat actors to pivot across multiple OCI services and compromise integrated developer tools.

Vulnerability Details and Discovery

The security flaw stemmed from a Cross-Site Request Forgery (CSRF) weakness in Oracle’s Code Editor file upload mechanism.

Researchers discovered that the browser-based integrated development environment shared the same underlying file system as Cloud Shell, creating an unexpected attack surface through their tight integration.

The vulnerability centered on a Cloud Shell router component that exposed a /file-upload endpoint lacking proper CSRF protections. The authentication cookie was configured with a SameSite=None attribute, which provided no protection against cross-site requests.

This configuration allowed any external website to trigger file uploads to a victim’s Cloud Shell environment if they were authenticated to Oracle Cloud Infrastructure.

“Our research began with a simple goal: explore Oracle Cloud Infrastructure’s Cloud Shell to better understand its security posture,” explained Tenable researchers. “The danger isn’t always in what you see, it’s often in what’s quietly integrated behind the scenes.”

The attack vector was remarkably simple yet devastating. Attackers could create a malicious HTML page that, when visited by an authenticated OCI user, would silently upload malicious files to sensitive locations like .bashrc.

When victims next initialized Cloud Shell, the malicious code would execute automatically, establishing remote access and potentially allowing lateral movement across OCI services using the victim’s cloud identity.

The proof-of-concept demonstrated how attackers could override shell configuration files to establish reverse shells, gaining interactive access to the victim’s Cloud Shell environment and leveraging OCI CLI capabilities for further compromise.

Beyond Cloud Shell access, the vulnerability posed risks to Code Editor’s integrated services, including Resource Manager, Functions, and Data Science.

Since these services share the same file system environment, attackers could potentially tamper with deployed functions, modify Resource Manager workspaces, or compromise data science workflows, creating a multi-surface threat across OCI’s developer toolkit.

Oracle addressed the vulnerability by implementing additional CSRF protections requiring a custom HTTP header (x-csrf-token) for all relevant requests.

This mitigation effectively blocks unauthorized cross-origin requests since browsers cannot set arbitrary custom headers without proper CORS configuration.

The vulnerability highlights the security challenges posed by tightly integrated cloud services, where convenience features can inadvertently create new attack vectors.

Organizations using Oracle Cloud Infrastructure should ensure their environments are updated with the latest security patches to protect against similar vulnerabilities.

Get Free Ultimate SOC Requirements Checklist Before you build, buy, or switch your SOC for 2025 - Download Now

Divya
Divya
Divya is a Senior Journalist at GBhackers covering Cyber Attacks, Threats, Breaches, Vulnerabilities and other happenings in the cyber world.

Hot this week

How To Access Dark Web Anonymously and know its Secretive and Mysterious Activities

What is Deep Web The deep web, invisible web, or...

How to Build and Run a Security Operations Center (SOC Guide) – 2023

Today’s Cyber security operations center (CSOC) should have everything...

Russian Hackers Bypass EDR to Deliver a Weaponized TeamViewer Component

TeamViewer's popularity and remote access capabilities make it an...

Web Server Penetration Testing Checklist – 2026

Web server pentesting is performed under three significant categories: identity,...

ATM Penetration Testing – Advanced Testing Methods to Find The Vulnerabilities

ATM Penetration testing, Hackers have found different approaches to...

New RemoveMacAI Tool Removes Apple Intelligence Models and Reclaims Mac Storage

A new open-source command-line utility called RemoveMacAI lets Apple...

Apple Strengthens macOS Privacy Controls as AI Agents Become More Autonomous

Apple has announced plans to strengthen macOS controls for...

Google Gemini to Gain Full Computer Access With New Permission

Google is reportedly testing a new Gemini Desktop feature...

Critical libheif Vulnerability Could Enable Remote Code Execution Through WordPress Image Uploads

A critical heap-buffer-overflow vulnerability in libheif could allow authenticated...

Japanese Police Impersonation Scam Operation Dismantled as 16 Suspects Detained in Timor-Leste

Timor-Leste investigators have dismantled a suspected cross-border telecom fraud...

Denmark Confirms Major Security Incident Exposing 8.8 Million Citizen Records

Denmark has confirmed a serious cybersecurity incident involving unauthorized...

CISA Flags Citrix NetScaler Flaw Exploited in Ongoing Attacks

The U.S. Cybersecurity and Infrastructure Security Agency (CISA) has...

MediaTek Fixes 31 Security Flaws Affecting Modem, Video and AI Components

MediaTek has released its October 2026 Product Security Bulletin,...

Related Articles

Recent News