July 2nd, 2024

Pwning a Brother labelmaker, for fun and interop

The author explores vulnerabilities in a Brother label maker, discovering outdated software and potential exploits like executing arbitrary code. Challenges arise, including unintentional device configuration issues and limited understanding of printer systems.

Read original articleLink Icon
Pwning a Brother labelmaker, for fun and interop

The article discusses the author's exploration of a Brother label maker, specifically the VC-500W model, which was found to be running outdated software, including a 2012 version of CUPS and an old Linux kernel on an ARMv5 architecture. The author discovered vulnerabilities in the device, such as the ability to execute arbitrary code through manipulating input fields in the setup utility. Attempts to exploit the vulnerabilities included trying to gain remote code execution and accessing system files like /etc/passwd. Despite encountering challenges and inadvertently causing issues with the device's configuration, the author continued to investigate potential exploits, including leveraging CUPS errors for arbitrary file write. Additionally, the author found a publicly accessible S3 bucket containing encrypted upgrade packages for the device, which could potentially be decrypted to create custom firmware. The article concludes with the author's reflections on the difficulty of exploiting the device further due to limited understanding of CUPS and printer systems.

Link Icon 14 comments
By @moogly - 5 months
I'd like to hack my P-Touch to not waste 1" of tape every goddamn print for no discernible reason. I've read Brother's reason and I don't see it.
By @Lammy - 5 months
Fun read and great debugging but I'm honestly really sick of this kind of attitude since it's essentially arguing for more churn and for more e-waste:

> There's a CUPS version that's 10+ years old, Linux kernel almost old enough to drink, all of that r̶u̶n̶n̶i̶n̶g̶ crawling on an ARMv5.

> but it seems that they have one specific design and they're happy to milk it for as long and as cheap as possible

Like who fucking cares how old the CPU in a label printer is?

By @Nectar0516 - 5 months
> # sorry for this being so long, i have no way to format it sanely x.x

Here ya go, I fixed it (or just see the pastebin link if you're curious what it says):

    wget -O conffile https://pastebin.com/raw/eGfKdvh8
    curl ... \
      --data-urlencode 'org.cups.sid=1862ff74a0c01dd0fb444934e7e67e05' \
      --data-urlencode 'OP=config-server' \
      --data-urlencode "CUPSDCONF@conffile" \
      --data-urlencode 'SAVECHANGES=Save+Changes' >/dev/null
By @instagib - 5 months
I realized after finishing a reel in a label maker that some have a negative film type reel to them that discharges when printing.

Before throwing it away, I looked at it and it contained classified information.

By @metadat - 5 months
I love the old-school font on this page. Reminds me of Word Perfect on the old Macintosh computers.

> pxplus_ibm_vga8regular

https://www.bing.com/search?q=%22pxplus_ibm_vga8regular%22+f...

Why is it only available from seedy foreign font sites?

By @m463 - 5 months
do the the brother label printers have a backing to peel off?

I had a dymo d1 style label printer years ago and liked it, but it was a pain to get the backing to come off the labels when you wanted to stick them. (dymo labelmanager pnp)

Then I got a brother QL-1100 and it was a big step up. Labels easily come off the backing and if you want, 3rd party labels are cheap and available. I rarely pull out the dymo anymore. You can even print like from a database and it will spit out a pile of cut labels with no intervention. also linux software on github (haven't tried it)

By @roywashere - 5 months
I have a three year old Brother laser printer and for the longest time, I had problems using the wireless printing feature. My laptop would recognize the printer, install it but fail to print. Only using the USB cable it would work. Three months ago, I found the printer web UI using nmap and found there was an ‘update’ with a date of 2020 on it (so before I bought the printer) and I installed it and wireless printing now works flawlessly :-)
By @kevin_thibedeau - 5 months
You're much better off getting an older TZ/TZe P-touch with a USB port from before the more recent enshittification. CUPS supports them well and there are utilities that can print images direct to them.
By @noman-land - 5 months
Super fun read.
By @markstos - 5 months
I reduce the attack surface area of my label maker by unplugging it when not in use, which is most of the time. Also lowers the electric bill.
By @gotorazor - 5 months
I don't do these things. I didn't realized that printers have CUPS server installed on them now. I find it kind of wild. Like, why?