Skip to content
Path traversal Write-up Beginner

The $7,500 Bug in Google Web Designer — and Why It’s a Wake-Up Call for All of Us

Google Web Designer did not validate file paths inside imported ZIP archives, so a crafted archive could write files outside the intended extraction directory. An attacker could use this to place arbitrary files anywhere the application has write permission, potentially leading to code execution or persistence.

Vivek ps Follow

Published on medium.com

I wasn’t planning to write about this. Honestly, I was kind of in a creative slump.

Vivek PS, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

The application extracted ZIP entries without validating or sanitising their paths, allowing directory traversal.

Impact

An attacker could write arbitrary files anywhere the application has permission, which could lead to code execution or persistence if the app runs with elevated privileges.

What the attacker needed

Victim imports a malicious ZIP; app has write permissions

The fix

The application should validate and sanitise ZIP entry paths before extraction, rejecting any that escape the target directory; the text says Google patched it.

How it was found

  1. Create a ZIP archive containing a normal file and a file whose name uses directory traversal to point outside the extraction folder.
  2. Open Google Web Designer and use the 'Add custom component' feature to import the ZIP.
  3. Observe that the malicious file is extracted to a location outside the intended directory, such as C:\Temp\.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

When you unzip a file, the program decides where each file goes. If it trusts the names inside the ZIP, a name like '../../evil.txt' can make it write outside the folder it intended. Here, Google Web Designer did not check those names, so a malicious ZIP could drop files elsewhere on the computer.

What is Path traversal?

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.

More by Vivek ps

View all

5 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Path traversal and file inclusion

The lesson behind this report.

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.