Skip to content
RCE Write-up Intermediate

SVG files and Java code execution

Nicolas Grégoire Follow

Published on agarri.fr

I recently had to audit an application using the Batik framework to convert SVG files to PNG images. Given that the SVG 1.1 and SVG Tiny 1.2 specifications allow to call Java code from the SVG file and that Batik supports this feature, I had to give it an in-depth look.

Nicolas Grégoire (@Agarri_FR), on agarri.fr

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.

A write-up on agarri.fr about RCE by Nicolas Grégoire (@Agarri_FR). We list the title, author and date and link to it; the post itself is the researcher's. Read it on agarri.fr.

About RCE

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

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

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 Nicolas Grégoire

View all

8 more disclosed reports, best first.

More from Apache Batik

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.