A security flaw in Apple's Safari web browser that was patched nine years ago was exploited in the wild again some months ago a perfect example of a "zombie" vulnerability.
That's a bug that's been patched, but for whatever reason can be abused all over again on up-to-date systems and devices or a bug closely related to a patched one.
In a write-up this month, Maddie Stone, a top researcher on Google's Project Zero team, shared details of a Safari vulnerability that folks realized in January this year was being exploited in the wild. This remote-code-execution flaw could be abused by a specially crafted website, for example, to run spyware on someone's device when viewed in their browser.
The bug was tracked as CVE-2022-22620, with a CVSS severity score of 8.8 out of 10. It had been patched in 2013 and then reintroduced in 2016 during a code refresh. In February, it was fixed again by Apple in Safari and iOS/iPadOS updates.
"Almost halfway through 2022 and it seems like we're seeing a similar trend" in such zombie flaws, Stone wrote. "Attackers don't need novel bugs to effectively exploit users with zero-days, but instead can use vulnerabilities closely related to previously disclosed ones."
Last year Stone wrote that a quarter of the zero-day vulnerabilities tracked in 2020 by Project Zero were closely related to flaws that had been publicly disclosed in the past. Typically, this happens as a result of incomplete patching by the developer or manufacturer a software update doesn't fully address the underlying flaw, leaving it still exploitable in some way.
That said, the situation with the Safari hole is a bit different. In this case, Apple completely patched the hole when the vulnerability was detected in 2013, but "itsfix was just regressedin 2016during refactoring. We don't know how long an attacker was exploiting this vulnerability in-the-wild, but we do know that the vulnerability existed (again) for five years: December 2016 until January 2022," she wrote.
That is to say, engineers tidied up and reordered some parts of their source code, and as a result, inadvertently reintroduced the exploitable bug. See Stone's technical analysis for the full details.
The vulnerability in 2013 was a use-after-free() flaw in the History API code in the open-source WebKit engine of Safari. The API provides access to the history of the browser session and allows the user to modify the history.
The bug from 2013, and the closely related one spotted being exploited this year, both involve the History API and could be abused via a specially crafted piece of web content, giving cybercriminals the chance to gain arbitrary code execution capabilities on victims' devices.
"It's the same bug, but triggered through a different path," Stone wrote. "That's why the 2013 test case wasn't crashing the version of WebKit that should have been vulnerable to CVE-2022-22620."
She noted that developers in 2013 patched all the different paths that triggered the vulnerability, not only the one in proof-of-concept exploit code that was submitted at the time to prove a flaw existed. However, the refactoring done in December 2016 revived the vulnerability.
Source code commits in October and December 2016 were large, according to Stone. The first one changed 40 files with 900 additions and 1,225 deletions, while the second commit changed 95 files, with 1,336 additions and 1,325 deletions.
She listed refactoring among the key challenges facing developers joining such others as legacy code, short turnaround expectations for reviewers and legacy code. And she argued that developers and security teams need time to review patches particularly those done for security reasons. In addition, rewarding these efforts "will save the vendor resources in the long run," Stone wrote.
"In this case, nine years after a vulnerability was initially triaged, patched, tested, and released, the whole process had to be duplicated again, but this time under the pressure of in-the-wild exploitation."
In February, Apple released patches for the CVE-2022-22620 flaw.
Stone noted that the Apple Safari flaw wasn't the only zombie vuln situation this year. In 2022, Project Zero also has seen in-the-wild zero-days that are variants of previously disclosed bugs in Chromium, Windows, Pixel devices, and iOS.
In 2020, the group found that six of 24 zero-day exploits were closely related to vulnerabilities that had earlier been disclosed in Windows, Firefox, Chrome and Safari.
"Some of these 0-day exploits only had to change a line or two of code to have a new working 0-day exploit," Stone wrote last year, adding that in 2020, "[One] out of every 4 detected 0-day exploits could potentially have been avoided if a more thorough investigation and patching effort were explored.Across the industry, incomplete patches patches that don't correctly and comprehensively fix the root cause of a vulnerability allow attackers to use 0-days against users with less effort."
John Bambenek, principal researcher with cybersecurity vendor Netenrich, told The Register that zombie 0-days typically result from incomplete patching. Software firms need to reward and value security in their products and give developers and security professionals time to audit commits for robustness.
"Companies that value features above all else will, in particular, keep seeing this problem," Bambenek said. "This problem is with software development generally. Humans are creatures of habit, so the patterns of thought and action that led to vulnerabilities also lead to their reintroduction."
Read more:
How refactoring code in Safari's WebKit resurrected 'zombie' security bug - The Register
- Dubstep. Dj-Daniel: Infection Zombie - Video [Last Updated On: April 29th, 2015] [Originally Added On: April 29th, 2015]
- Here's Everything That Happens In The Latest Leaked Episode of Game Of Thrones, Which Is Bananas - Deadspin [Last Updated On: August 17th, 2017] [Originally Added On: August 17th, 2017]
- Abuse of 'Zombie Drug' Has Skyrocketed in Shanxi, Says Report - Sixth Tone [Last Updated On: August 17th, 2017] [Originally Added On: August 17th, 2017]
- Trout Republic The zombie apocalypse is here - Monte Vista Journal [Last Updated On: August 17th, 2017] [Originally Added On: August 17th, 2017]
- Is GAME OF THRONES Heading for a Zombie Cleganebowl? - Nerdist [Last Updated On: August 17th, 2017] [Originally Added On: August 17th, 2017]
- Community hopes to 'Save the Zombie Food' - Victoria Advocate [Last Updated On: August 19th, 2017] [Originally Added On: August 19th, 2017]
- Top 10 Real Life Zombies - Gazette Review [Last Updated On: August 19th, 2017] [Originally Added On: August 19th, 2017]
- The latest dating trend is called zombie-ing and it's pretty common - Today.com [Last Updated On: August 19th, 2017] [Originally Added On: August 19th, 2017]
- Overwatch Player Creates Zombie Mode - Kotaku - Kotaku [Last Updated On: August 19th, 2017] [Originally Added On: August 19th, 2017]
- Rob Zombie to host '13 Nights of Halloween' on HDNET MOVIES - EW.com [Last Updated On: August 19th, 2017] [Originally Added On: August 19th, 2017]
- "The Art of Response: Zombie Preparedness" event coming to Abilene in October - Big Country Homepage [Last Updated On: August 19th, 2017] [Originally Added On: August 19th, 2017]
- China's Debt Swaps Surpass $100 Billion - Bloomberg [Last Updated On: August 20th, 2017] [Originally Added On: August 20th, 2017]
- Community Download: Are You Tired Of Zombie VR Games? - UploadVR [Last Updated On: August 20th, 2017] [Originally Added On: August 20th, 2017]
- HESCO Sponsor Zombie Invitational Shooting Competition (Multi-Video) - 107.180.56.147 (press release) (registration) (blog) [Last Updated On: August 22nd, 2017] [Originally Added On: August 22nd, 2017]
- Dead Snow 3 will feature 'Zombie-Hitler,' says director - EW.com [Last Updated On: August 22nd, 2017] [Originally Added On: August 22nd, 2017]
- Game of Thrones: Why Everyone on the Set Hated that Zombie Polar Bear - Vanity Fair [Last Updated On: August 22nd, 2017] [Originally Added On: August 22nd, 2017]
- 'State of Decay 2' forces you to pick who becomes zombie food - Engadget [Last Updated On: August 22nd, 2017] [Originally Added On: August 22nd, 2017]
- The Zombie Polar Bear on Game of Thrones Was Just a Dude in a Green Suit - Esquire.com [Last Updated On: August 22nd, 2017] [Originally Added On: August 22nd, 2017]
- Zombie Hitler reanimates in Dead Snow 3 - SYFY WIRE (blog) [Last Updated On: August 22nd, 2017] [Originally Added On: August 22nd, 2017]
- That Zombie Polar Bear on 'Game of Thrones' Was Four Seasons in the Making - Thrillist [Last Updated On: August 22nd, 2017] [Originally Added On: August 22nd, 2017]
- Louisville Zombie Walk Attack Funeral! - Louisville Eccentric Observer [Last Updated On: August 24th, 2017] [Originally Added On: August 24th, 2017]
- Starbucks' new sushi burrito sounds like how zombie outbreaks start ... - GolfDigest.com [Last Updated On: August 24th, 2017] [Originally Added On: August 24th, 2017]
- Heavy weekend rains likely when zombie storm Harvey comes to Texas - MyStatesman.com [Last Updated On: August 24th, 2017] [Originally Added On: August 24th, 2017]
- West Milford plans law to slay 'zombie' homes - NorthJersey.com [Last Updated On: August 24th, 2017] [Originally Added On: August 24th, 2017]
- 'Game of Thrones': Why the White Walkers and Wights Represent the Best and Worst Zombie Tropes - IndieWire [Last Updated On: August 24th, 2017] [Originally Added On: August 24th, 2017]
- Like A Movie Zombie, Tax Reform Refuses To Die - Investor's Business Daily [Last Updated On: August 25th, 2017] [Originally Added On: August 25th, 2017]
- Buy Your Tickets Now For 'Z is for...Zombie!' - Patch.com [Last Updated On: August 25th, 2017] [Originally Added On: August 25th, 2017]
- 19 Years Ago: Rob Zombie Debuts His Solo Album "Hellbilly Deluxe" - WAAF.com (blog) [Last Updated On: August 25th, 2017] [Originally Added On: August 25th, 2017]
- What can the Zombie Apocalypse teach us about ourselves? [Video] - OUPblog (blog) [Last Updated On: August 25th, 2017] [Originally Added On: August 25th, 2017]
- Zombie homes shame campaign spreads to Niagara Falls - Spectrum News [Last Updated On: August 26th, 2017] [Originally Added On: August 26th, 2017]
- Zombie run scheduled at Castle of Muskogee - Tulsa World [Last Updated On: August 26th, 2017] [Originally Added On: August 26th, 2017]
- City seeks help in identifying 'zombie properties' - The Recorder (subscription) [Last Updated On: August 28th, 2017] [Originally Added On: August 28th, 2017]
- Hudson Confidential: 'Zombie' utility poles outlawed in Cornwall-on-Hudson - Times Herald-Record [Last Updated On: August 28th, 2017] [Originally Added On: August 28th, 2017]
- Falls steps up its fight against 'zombie homes' - Niagara Gazette [Last Updated On: August 28th, 2017] [Originally Added On: August 28th, 2017]
- Video: President Trump's zombie claim of widespread voter fraud in the 2016 election - Washington Post [Last Updated On: August 28th, 2017] [Originally Added On: August 28th, 2017]
- Zombies, romance and revenge drive record 'Game of Thrones' ratings - Reuters [Last Updated On: August 28th, 2017] [Originally Added On: August 28th, 2017]
- Rob Zombie on Tobe Hooper: 'The Texas Chain Saw Massacre' Changed My Life - RollingStone.com [Last Updated On: August 28th, 2017] [Originally Added On: August 28th, 2017]
- 'Zombie' translation book authored by Ashland professor - Richland Source [Last Updated On: August 28th, 2017] [Originally Added On: August 28th, 2017]
- City set to file first court action against 'zombie property' - Rome Sentinel [Last Updated On: August 28th, 2017] [Originally Added On: August 28th, 2017]
- Brooklyn Decker Compares Herself to 'Zombie Taylor Swift' in 'Look What You Made Me Do' Music Video - Us Weekly [Last Updated On: August 29th, 2017] [Originally Added On: August 29th, 2017]
- Call of Duty: WWII's Zombies Is Changing its Tone and That's Exactly What it Needs - Twinfinite [Last Updated On: August 29th, 2017] [Originally Added On: August 29th, 2017]
- Zombie shooter Dead Alliance now available - Flickering Myth (blog) [Last Updated On: August 30th, 2017] [Originally Added On: August 30th, 2017]
- Call of Duty Black Ops III and Zombie Chronicles Officially Bundled Together - Twinfinite [Last Updated On: August 30th, 2017] [Originally Added On: August 30th, 2017]
- Here a few of Lil Uzi Vert's favorite things: Rob Zombie, Rugrats and more - Alternative Press [Last Updated On: August 30th, 2017] [Originally Added On: August 30th, 2017]
- Rob Zombie's Halloween 10th anniversary: How Tyler Mane ... - EW.com [Last Updated On: August 30th, 2017] [Originally Added On: August 30th, 2017]
- The Syllabus: Zombie Charlotte Law (updated) - Greensboro News & Record (blog) [Last Updated On: August 31st, 2017] [Originally Added On: August 31st, 2017]
- The Night King and Zombie Viserion are comingin Funko Pop! form - Winter Is Coming [Last Updated On: August 31st, 2017] [Originally Added On: August 31st, 2017]
- Death of Spain's Zombie Lenders Sends Bank Jobs to Decade Low - Bloomberg [Last Updated On: August 31st, 2017] [Originally Added On: August 31st, 2017]
- Rome on cutting edge for dealing with zombie properties - Utica Observer Dispatch [Last Updated On: August 31st, 2017] [Originally Added On: August 31st, 2017]
- The Mask Hides My Ugliness: Violence and Trauma in Rob Zombie's 'Halloween' - The Film Stage (blog) [Last Updated On: August 31st, 2017] [Originally Added On: August 31st, 2017]
- 'Zombie' drug Spice addict grabbed terrified girl, 5, outside Primark and gave her a 'bear hug' - Mirror.co.uk [Last Updated On: September 1st, 2017] [Originally Added On: September 1st, 2017]
- The Bentley You Need For The Zombie Apocalypse Is Finally For Sale - Jalopnik [Last Updated On: September 1st, 2017] [Originally Added On: September 1st, 2017]
- Cops warn residents to avoid mange-infected coyotes labeled 'zombie dogs' - New York Daily News [Last Updated On: September 1st, 2017] [Originally Added On: September 1st, 2017]
- Cops Warn of Infected 'Zombie' Coyotes Confused for Stray Dogs in ... - NBC Chicago [Last Updated On: September 1st, 2017] [Originally Added On: September 1st, 2017]
- Police warn of infected 'zombie' coyotes confused for stray dogs - KCRA Sacramento [Last Updated On: September 2nd, 2017] [Originally Added On: September 2nd, 2017]
- Survive An Augmented Zombie Reality In Walking Dead: Our World - Shacknews [Last Updated On: September 2nd, 2017] [Originally Added On: September 2nd, 2017]
- 'Zombie dogs' roaming near Chicago are infected coyotes, police ... - Fox News [Last Updated On: September 3rd, 2017] [Originally Added On: September 3rd, 2017]
- Railey: Confronting 'zombie mindsets' and a Charlottesville martyr - Winston-Salem Journal [Last Updated On: September 3rd, 2017] [Originally Added On: September 3rd, 2017]
- Trump Pardons Zombie Apocalypse - Indian Country Today Media Network [Last Updated On: September 3rd, 2017] [Originally Added On: September 3rd, 2017]
- Your daily 6: A third child for William and Kate; zombie dogs in Chicago - STLtoday.com [Last Updated On: September 5th, 2017] [Originally Added On: September 5th, 2017]
- Chicago's Newest Problem Is An Invasion Of ZOMBIE DOGS - The Daily Caller [Last Updated On: September 5th, 2017] [Originally Added On: September 5th, 2017]
- Daily Deal: Zombie Army Trilogy Is 80% Off On Steam - Gameranx (blog) [Last Updated On: September 5th, 2017] [Originally Added On: September 5th, 2017]
- 'Zombie' dogs are actually infected coyotes, police warn - Atlanta Journal Constitution [Last Updated On: September 5th, 2017] [Originally Added On: September 5th, 2017]
- 9th Circuit Revives Class Action Over 'Zombie' Smartphone Cookies - Courthouse News Service [Last Updated On: September 6th, 2017] [Originally Added On: September 6th, 2017]
- SecureView: Assemblyman James Skoufis Hosts Demonstration to Clean Up Zombie Property Blight - Markets Insider [Last Updated On: September 6th, 2017] [Originally Added On: September 6th, 2017]
- Zombie Walk to benefit local charity - Bowling Green Daily News [Last Updated On: September 6th, 2017] [Originally Added On: September 6th, 2017]
- Zombie Run will benefit Muskogee Animal Shelter - Muskogee Daily Phoenix [Last Updated On: September 6th, 2017] [Originally Added On: September 6th, 2017]
- New 'The Walking Dead' AR app tests your zombie battle plan - CNET - CNET [Last Updated On: September 6th, 2017] [Originally Added On: September 6th, 2017]
- Watch an extreme scene from TIFF zombie film Les Affams - EW.com [Last Updated On: September 6th, 2017] [Originally Added On: September 6th, 2017]
- ARZombi Is A Zombie Shooter Made Using ARKit - UploadVR [Last Updated On: September 6th, 2017] [Originally Added On: September 6th, 2017]
- Should You Forgive Your Zombie Relative? Ellen Page In 'The Cured' Watch TIFF Clip - Deadline [Last Updated On: September 6th, 2017] [Originally Added On: September 6th, 2017]
- 'Zombie dogs' are roaming the suburbs of Chicago - The Week Magazine [Last Updated On: September 6th, 2017] [Originally Added On: September 6th, 2017]
- 'Zombie' coyotes reportedly seen in suburbs, and residents warned to keep away - Chicago Tribune [Last Updated On: September 6th, 2017] [Originally Added On: September 6th, 2017]
- YWCA prepares for 2nd annual zombie run - KFYR-TV [Last Updated On: September 7th, 2017] [Originally Added On: September 7th, 2017]
- Langhorne Slim Releases "Zombie" off Forthcoming New Album Lost at Last Vol. 1 - Paste Magazine [Last Updated On: September 7th, 2017] [Originally Added On: September 7th, 2017]
- Sightings of 'zombie' dogs prompt warnings in Chicago - The San Diego Union-Tribune [Last Updated On: September 7th, 2017] [Originally Added On: September 7th, 2017]
- Zombie Chase Parkour POV - YouTube [Last Updated On: June 21st, 2018] [Originally Added On: June 21st, 2018]
- Zombie Official Minecraft Wiki [Last Updated On: July 3rd, 2018] [Originally Added On: July 3rd, 2018]
- Zombie Games - Free Online Zombie Games [Last Updated On: July 18th, 2018] [Originally Added On: July 18th, 2018]
- Amazon.com: Zombie: Tisa Farrow, Ian McCulloch, Al Cliver ... [Last Updated On: August 9th, 2018] [Originally Added On: August 9th, 2018]