Skip to content
Memory corruption Disclosed report Intermediate

FileZilla 3.46.3 - 'Scale factor' Buffer Overflow

The 'Scale Factor' field accepts arbitrary text instead of only a float. Pasting a very large string can cause a buffer overflow or denial of service.

ayson88 Follow

Originally disclosed on HackerOne

Bounty$250 Low 3.3 View original
  • Fixed in 11 days
  • Paid in 11 days
  • Disclosed after 9 months

Summary:

FileZilla in has a problem in the "Scale Factor" field is vulnerable to a Buffer Over Flow attack or a denial attack. Adding random characters in an entry that must accept only Float input type values.

Steps To Reproduce:

A python file of name generatepaste.py was generated for the generation of the chain that allows the overflow, which is the following:

buffer = "\x41" * 5000000 eip= "\x42" * 4 f = open ("generate.txt", "w") f.write(buffer+eip) f.close()

1.- Run python code : python generatepaste.py 2.- Open generate.txt and copy content to clipboard. 3.- Open FileZilla. 4.- Select the Edit menu and then Settings. 5.- Find the Interface section and select Themes. 6.- Paste Clipboard on "Scale Factor" three times. 7.- Click in the icons. 8.- BoF

Supporting Material/References:

[list any additional material (e.g. screenshots, logs, etc.)]

  • [attachment / reference]

F719632

Impact

An attacker can corrupt FileZilla applications and be a preamble to a much more severe attack.

Attachments

Captura.JPG
Captura.JPG From the original on HackerOne

The original report as published on HackerOne, by ayson88. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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 corrupt the FileZilla application and potentially use this as a stepping stone to a more severe attack.

What the attacker needed

FileZilla installed; local access to the settings

How it was found

  1. Run the Python script to generate a file containing a long string of 'A' characters followed by four 'B' characters.
  2. Open the generated file and copy its contents to the clipboard.
  3. Open FileZilla and go to Edit > Settings.
  4. Navigate to Interface > Themes.
  5. Paste the clipboard contents into the 'Scale Factor' field three times.
  6. Click on the icons to trigger the buffer overflow.

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 buffer overflow happens when a program writes more data into a fixed-size memory space than it can hold. Here, the 'Scale Factor' box is meant for a number but accepts a huge pasted string, which can overflow memory and crash the program.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.