Slashdot Log In
Buffer Overflow Found in RFID Passport Readers
Posted by
CowboyNeal
on Sat Aug 11, 2007 09:20 AM
from the never-too-careful dept.
from the never-too-careful dept.
epee1221 writes "Wired ran a story describing Lukas Grunwald's Defcon talk on an attack on airport passport readers. After extracting data from the (read-only) chip in a legitimate passport, he placed a version of the data with an altered passport photo (JPEG2000 is used in these chips) into a writable chip. The altered photo created a buffer overflow in two RFID readers he tested, causing both to crash. Grunwald suggests that vendors are typically using off-the-shelf JPEG2000 libraries, which would make the vulnerability common."
Related Stories
This discussion has been archived.
No new comments can be posted.
Buffer Overflow Found in RFID Passport Readers
|
Log In/Create an Account
| Top
| 96 comments
| Search Discussion
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Of course they are vulnerable (Score:3, Insightful)
The only thing the manufacturers of these systems can do is thoroughly test their software, and make the attack possibilities as small as possible. For instance, they should check the signature under the data before passing the data on to the next layers. Of course, for this you need the certificate of the issuing state. You should also test if the underlying libraries that do this initial check are not vulnerable.
Explain to me how... (Score:3, Funny)
Passport is scanned
Reader goes casters up
Reader is power cycled
Passport is scanned again
Reader goes casters up
Owner of said passport is hauled off to some secret room where all of their orifices are checked by an ex-prison guard with large hands.
This does show the lack of testing and hardening, but it seems a buffer overflow situation like this would be relatively easy to patch.
Re:Explain to me how... (Score:5, Insightful)
(http://www.cabochon.com/)
Passport is scanned
Reader goes casters up
Reader is power cycled
Passport is scanned again
Reader goes casters up
Security Goon say "Shit, that's wierd. But the paper passport looks fine. Go on through."
Owner of said passport traipses past security, making the E-passport no better than a regular one.
Re:Explain to me how... (Score:5, Informative)
(http://en.wikipedia.org/wiki/User:H2g2bob)
Re:Explain to me how... (Score:5, Insightful)
Hacker crafts jpeg with exploit code
Passport is scanned
Exploit code is injected
Reader silently executes exploit code
Reader continues operation with nobody any the wiser
A compromised reader lets you bypass the biometrics.
Re:Explain to me how... (Score:5, Informative)
(http://www.chriscanfield.net/)
A buffer overflow is a serious vulnerability, in that finding one is the biggest step towards cracking a system open.
Honestly... (Score:2, Insightful)
(http://www.emeraldforce.org/)
#1: the guard will humanly read your inside cover photo with extra vigilance...the chip is not the only method of ID
#2: you'll probably be detained for a bit while they re-test your passport; if it fails again, they'll tell you to get a new passport
(#2a: or be placed on a no-fly list, because you're a terrorist)
Plus, how exactly would a code-injection exploit work unless it's something like the GDI+ vulnerability that occurred with WMF files? (If a rogue guard is injecting evil code into the machine, the government had waaay more scary problems ahead than with some 'sploiting a passport reader).
All that being said, there are some things (i.e. voting machines) that just should not be electronic-ized, and I feel this is one of them.
Other than "it'll get you through faster!!", what is the point of using chips when, more than likely, the passport clerk has to humanly-read it to verify the info anyway? Especially considering that the particular RFID chip technology used in the passport is going to be obsolete or cracked in 3 years, and most passports don't expire for five or ten years?
"..the Windows-based border-screening computer.." (Score:3, Funny)
(http://www.how-to-make-a-bomb.eu/ | Last Journal: Monday April 17 2006, @09:30AM)
FTFA: "If a reader could be compromised using Grunwald's technique, it might be reprogrammed to misreport an expired passport as a valid one, or even -- theoretically -- to attempt a compromise of the Windows-based border-screening computer to which it is connected."
That does it. From now on I'm only travelling to countries which use OpenBSD to operate their border gateway protocols.
And: "Additionally, the International Civil Aviation Organization recommends that issuing countries protect biometric data on the e-passport with an optional feature known as Extended Access Control, which protects the biometric data on the chip by making readers obtain a digital certificate from the country that issued the passport before the equipment can access the information."
Sounds like in the future, the only people who'll be able to traveler with any degree of success will be those who can forge their passports...
Lost faith on RFID security long ago? (Score:3, Insightful)
(http://slashgeo.org/ | Last Journal: Wednesday October 17, @09:03AM)
Great! (Score:1)
the usual (Score:2, Insightful)
There is no reason why any modern programming language should permit accidental buffer overflows; they are easily preventable without pushing the burden onto the programmer even in programming languages with the same power as C and C++.
Re:the usual (Score:4, Insightful)
Now if you're saying that there's no need to develop the vast majority of today's computer software in assembly, C, or C++, then I agree with you wholeheartedly -- but we're not talking about a computer, we're talking about an RFID reader. You know, a small device that doesn't have the latest gaming processor from AMD and Intel and 2 gigs of RAM. It has enough memory for what it needs to do and that's it; and, to be low power, it has a small, simple embedded processor.
You can't run a JVM on this thing, and even if you wanted to, it would be a bad idea.
Security Through Obscurity (Score:2)
(http://inglorion.net/ | Last Journal: Thursday October 06 2005, @07:17AM)
Because everybody knows that, had they written their own code, it would have been much more secure. Just like magic.
Why use silly RFID toys? (Score:1)
Undressing in front of the uniformed agent, undergoing endoscopy with low-bid lubricant, then going through the rotating-brushes Lockheed Martin AlloScrub body wash to remove all possible caches and residues of others' DNA before having the blood draw, is the highlight of any ordinary business trip. The $635 airport security fee is a bit of a burden, though, as are the 12 hour fast and prep. enema.
Waiting 24 hours for DNA sequencing results, in the departure hall with monopoly $3.75 bottled water, $9 greenish-ham sandwiches, Soviet-grade customer service, and incessantly repeated shrieky PA announcements, always makes me feel good because I am doing my part for national security.
Eventually however, I might have to face the question of efficiency, and be compelled to move to some other country where I can inch through massive traffic congestion, then pay a fixer to have me waved into the squalid and grimy departure hall for a mere 2 hours, while watching the unsmiling gentlemen with the submachine guns make their frequent rounds. This followed by very close scrutiny of the rubber stamps on incomprehensible forms stamped only 45 seconds earlier by the person one floor below, as my luggage was being X-rayed to make certain that I was not trying to dodge both the stiff export tax on livestock and poultry, and the consequent opportunity to make a "facilitating payment".
Re:Are borders are open! (Score:2, Funny)
Re:Are borders are open! (Score:2, Funny)
Yes.
JPEG2000 (Score:1)
(http://technoflak.blogspot.com/ | Last Journal: Friday November 02, @10:23AM)
Re:This is the reason closed source is good (Score:2, Insightful)
That's interesting... (Score:1)
Re:Are borders are open! (Score:2)
(http://www.radiolistings.co.uk/)
Re:Are borders are open! (Score:2)
(http://www.xemacs.org/)
RFID passports were a stupid idea in the first place. I do not want the id in my pocket broadcasting to the world "I'm an American Passport! Kidnap the holder!" (and kidnapping is an issue in places of the world I need to go, like where my in-laws and children are).