Skip to content
RCE Advisory Intermediate CVE-2020-26207

GHSL-2020-141: Arbitrary code execution in DatabaseSchemaReader - CVE-2020-26207

DatabaseSchemaReader used an unsafe serializer to open .dbschema files, allowing arbitrary code execution when a user opens a malicious file. An attacker could execute code without user consent.

jarlob Follow

Originally disclosed on GitHub Security Lab

DatabaseSchemaViewer is vulnerable to arbitrary code execution if a user is tricked into opening a specially crafted .dbschema file.

jarlob, on GitHub Security Lab

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 report has not been written yet. The Original tab links to the source.

How it worked

Impact

An attacker could execute arbitrary code on the victim's machine if the victim opens a malicious .dbschema file.

What the attacker needed

Victim opens a malicious .dbschema file

The fix

The issue was fixed in version 2.7.4.3 by using a safer serializer such as XmlSerializer.

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 report has not been written yet. The Original tab links to the source.

A program that opens a file used a method that can run code hidden in the file. If someone opens a malicious file, the attacker's code runs on their computer without asking.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by jarlob

View all

192 more disclosed reports, best first.

More from GitHub Security Lab

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.