Dirty COW

Dirty COW
CVE identifier(s)CVE-2016-5195
DiscovererPhil Oester
Affected softwareLinux kernel (<4.8.3)

Dirty COW (Dirty copy-on-write) is a computer security vulnerability of the Linux kernel that affected all Linux-based operating systems, including Android devices, that used older versions of the Linux kernel created before 2018. It is a local privilege escalation bug that exploits a race condition in the implementation of the copy-on-write mechanism in the kernel's memory-management subsystem. Computers and devices that still use the older kernels remain vulnerable.

The original exploit sample leveraging this vulnerability was discovered by Phil Oester during the investigation of a compromised machine.[1][2] The author of this sample is still unknown.

Because of the race condition, with the right timing, a local attacker can exploit the copy-on-write mechanism to turn a read-only mapping of a file into a writable mapping. Although it is a local privilege escalation, remote attackers can use it in conjunction with other exploits that allow remote execution of non-privileged code to achieve remote root access on a computer.[1] The attack itself does not leave traces in the system log.[2]

The vulnerability has the Common Vulnerabilities and Exposures designation CVE-2016-5195.[3] Dirty Cow was one of the first security issues transparently fixed in Ubuntu by the Canonical Live Patch service.[4]

It has been demonstrated that the vulnerability can be utilized to root any Android device before Android version 7 (Nougat).[5]

History

The vulnerability has existed in the Linux kernel since version 2.6.22 released in September 2007, and there is information about it being actively exploited at least since October 2016.[2] The vulnerability has been patched in Linux kernel versions 4.8.3, 4.7.9, 4.4.26 and newer.

The patch produced in 2016 did not fully address the issue and a revised patch was released on November 27, 2017, before public dissemination of the vulnerability.[6]

Applications

The Dirty COW vulnerability has many perceived use cases including proven examples, such as obtaining root permissions in Android devices, as well as several speculated implementations. There are many binaries used in Linux which are read-only, and can only be modified or written to by a user of higher permissions, such as the root. When privileges are escalated, whether by genuine or malicious means – such as by using the Dirty COW exploit – the user can modify usually unmodifiable binaries and files. If a malicious individual could use the Dirty COW vulnerability to escalate their permissions, they could change a file, such as /bin/bash, so that it performs additional, unexpected functions, such as a keylogger. When a user starts a program which has been infected, they will inadvertently allow the malicious code to run. If the exploit targets a program which is run with root privileges, the exploit will have those same privileges.

Remedies and recourse

At the dawn of its discovery, anyone using a machine running Linux was susceptible to the exploit. The exploit has no preventative work around, the only cure is a patch or running a newer version which is not vulnerable anymore. Linus Torvalds committed a patch on October 18, 2016, acknowledging that it was an old vulnerability he had attempted to fix eleven years prior.[7] Some distributors provide patches, such as Canonical, who provided a live patch. In the absence of a patch, there are a few mitigation technologies including SystemTap, and very little security from SELinux or AppArmor. Antivirus software has the potential to detect elevated permissions attacks, but it cannot prevent the attack.[8] When given the opportunity, the safest route is to upgrade the Linux kernel to the following versions:[9][10]

Earliest kernel version fixed Linux distribution that uses this
3.2.0-113.155 Ubuntu 12.04 LTS
3.13.0-100.147 Ubuntu 14.04 LTS (Linux Mint 17.1)
3.16.36-1+deb8u2 Debian 8
4.4.0-45.66 Ubuntu 16.04 LTS
4.8.0-26.28 Ubuntu 16.10
3.10.0-327.36.3 RHEL 7, CentOS 7
2.6.32-642.6.2 RHEL 6, CentOS 6
2.6.18-416 RHEL 5, CentOS 5
3.0.101-84.1 SLES 11 SP4
3.12.60-52.57.1 SLES 12 GA LTSS
3.12.62-60.64.8.2 SLES 12 SP1

References

  1. ^ a b Goodin, Dan (2016-10-20). ""Most serious" Linux privilege-escalation bug ever is under active exploit (updated)". Ars Technica. Retrieved 2016-10-21.
  2. ^ a b c Vaughan-Nichols, Steven J. "The Dirty Cow Linux bug: A silly name for a serious problem". ZDNet. Retrieved 2016-10-21.
  3. ^ "Kernel Local Privilege Escalation - CVE-2016-5195 - Red Hat Customer Portal". access.redhat.com. Retrieved 2016-10-21.
  4. ^ "LSN-0012-1 Linux kernel vulnerability". Ubuntu Security mailing list. October 20, 2016.
  5. ^ "Android phones rooted by "most serious" Linux escalation bug ever". Ars Technica. October 24, 2016.
  6. ^ Chirgwin, Richard (December 4, 2017). "Dirty COW redux: Linux devs patch botched patch for 2016 mess". The Register.
  7. ^ "mm: remove gup_flags FOLL_WRITE games from __get_user_pages()". Linux kernel source tree. October 18, 2016.
  8. ^ "How Bad is Dirty COW?". The Linux Foundation. October 24, 2016.
  9. ^ Hazel Virdó (October 31, 2016). "How To Protect Your Server Against the Dirty COW Linux Vulnerability". DigitalOcean. Retrieved December 29, 2016.
  10. ^ "CVE-2016-5195: kernel: local privilege escalation using MAP_PRIVATE (Dirty COW). | Support | SUSE". www.suse.com. Retrieved 2020-01-22.

Read other articles:

Katedral AtriKatedral Santa Maria Diangkat ke SurgaItalia: Basilica Concattedrale di S. Maria Assuntacode: it is deprecated Katedral AtriLokasiAtriNegaraItaliaDenominasiGereja Katolik RomaArsitekturStatusKatedralStatus fungsionalAktifAdministrasiKeuskupanKeuskupan Teramo-Atri Katedral Atri (Italia: Basilica concattedrale di Santa Maria Assunta; Duomo di Atricode: it is deprecated ) adalah sebuah gereja katedral Katolik yang terletak di kota Atri, Provinsi Teramo, wilayah Abruzzo, Italia. Dulu...

 

Mazmur 22Mazmur 22:1-8 dalam Kitab Mazmur St. Albans. Kata-kata pertama Mazmur ini dalam Vulgata (Alkitab versi bahasa Latin) adalah Deus, Deus meus, di sini disingkat sebagai DS DS MS.KitabKitab MazmurKategoriKetuvimBagian Alkitab KristenPerjanjian LamaUrutan dalamKitab Kristen19← Mazmur 21 Mazmur 23 → Mazmur 22 (disingkat Maz 22, Mzm 22 atau Mz 22; penomoran Septuaginta: Mazmur 21) adalah sebuah mazmur dalam bagian pertama Kitab Mazmur di Alkitab Ibrani dan Perjanjian Lama di Al...

 

2001 2008 Élections cantonales de 2004 dans les Landes 15 des 30 cantons des Landes 21 et 28 mars 2004 Type d’élection Élections cantonales PCF : sièges PS : sièges DVG : siège DVD : siège NC : sièges UMP : sièges modifier - modifier le code - voir Wikidata  Les élections cantonales ont eu lieu les 21 et 28 mars 2004. Lors de ces élections, 15 des 30 cantons des Landes ont été renouvelés. Elles ont vu la reconduction de la majorité soc...

Questa voce o sezione sull'argomento competizioni calcistiche non è ancora formattata secondo gli standard. Commento: Voce da adeguare al corrispondente modello di voce. Contribuisci a migliorarla secondo le convenzioni di Wikipedia. Segui i suggerimenti del progetto di riferimento. 3. Fußball-Liga 2008-2009 Competizione 3. Liga Sport Calcio Edizione 1ª Organizzatore DFB Luogo  Germania Partecipanti 20 Risultati Vincitore  Union Berlino Promozioni  Union Berlino F...

 

Colonial fort at the confluence of the Allegheny and Monongahela rivers For other uses, see Fort Duquesne (disambiguation). This article includes a list of general references, but it lacks sufficient corresponding inline citations. Please help to improve this article by introducing more precise citations. (June 2008) (Learn how and when to remove this message) Fort DuquesnePittsburgh, Pennsylvania, U.S. Fort Duquesne in PittsburghTypeFortSite informationControlled by New France ...

 

Typhoon season in the Western Pacific Ocean 1999 Pacific typhoon seasonSeason summary mapSeasonal boundariesFirst system formedJanuary 3, 1999Last system dissipatedDecember 16, 1999Strongest stormNameBart • Maximum winds165 km/h (105 mph)(10-minute sustained) • Lowest pressure930 hPa (mbar) Seasonal statisticsTotal depressions45Total storms20Typhoons5 (record low)Super typhoons1 (unofficial)Total fatalities976Total damage$18.36 billion (1999 USD)Related articles 1999 A...

French play by Pierre Beaumarchais This article is about the comedy by Pierre Beaumarchais. For the opera by Mozart, see The Marriage of Figaro. The Marriage of FigaroTitle page from the first edition of The Marriage of FigaroWritten byPierre BeaumarchaisCharactersFigaroCount AlmavivaThe CountessSuzanneMarcelineChérubinAntonioFanchetteBartholoDate premiered1784Place premieredFranceOriginal languageFrenchGenreRomantic comedySettingThe Count's castle near Seville The Marriage of...

 

Italian dog association Italian Kennel ClubAbbreviationENCIFormation1882FoundersCarlo BorromeoEmilio Belgioioso d'EsteFerdinando DelorCarlo BiffiLuigi RadiceLocationMilanoArea served ItalyPresidentDino MutoWebsiteenci.it The Ente Nazionale della Cinofilia Italiana,[a] usually known as the ENCI, is the national organisation responsible for the recognition, standardisation and registration of pedigree dogs in Italy.[1] It is sometimes called the Italian Kennel Club.[2] T...

 

Ruksamin Ruksamin (lahir 14 Maret 1973) adalah seorang politisi Indonesia. Ia menjabat sebagai bupati Konawe Utara periode 2016-2021 dan 2021-2026.[1] Ia lahir dari keluarga sederhana di perkampungan ujung utara Desa Basule, Kecamatan Lasolo, Kabupaten Konawe Utara. Orangtuanya bekerja sebagai guru dan petani. Ia menempuh pendidikan di SD Negeri Tinobu angkatan tahun 1985, SMP Negeri Tinobu angkatan tahun 1988, kemudian lanjut di SMA Negeri Wawotobi angkatan tahun 1991. Ia kemudian ma...

Carpenter of Pinocchio For other uses, see Geppetto (disambiguation). Fictional character GeppettoThe Adventures of Pinocchio characterGeppetto carving Pinocchio.First appearanceThe Adventures of Pinocchio (1883)Created byCarlo CollodiIn-universe informationSpeciesHumanGenderMaleOccupationCarpenterFamilyPinocchio (son)NationalityItalian Geppetto (/dʒəˈpɛtoʊ/ jə-PET-oh Italian: [dʒepˈpetto])[1] is an Italian fictional character in the 1883 novel The Adventures of Pinocc...

 

Relations between the two largest Islamic sects Part of a series onIslam Beliefs Oneness of God Angels Revealed Books Prophets Day of Resurrection Predestination Practices Profession of Faith Prayer Almsgiving Fasting Pilgrimage TextsFoundations Quran Sunnah (Hadith, Sirah) Tafsir (exegesis) Aqidah (creed) Qisas al-Anbiya (Stories of the Prophets) Mathnawi (Poems) Fiqh (jurisprudence) Sharia (law) History Timeline Muhammad Ahl al-Bayt Sahabah Rashidun Caliphate Imamate Medieval Islamic scienc...

 

Untuk perusahaan terdaftar yang tak berkaitan, lihat China Media Group Co., Ltd. Voice of China beralih ke halaman ini. Untuk kegunaan lain, lihat Voice of China (disambiguasi). China Media Group中央广播电视总台Bekas markas besar China Central Television, kini markas besar China Media GroupJenisWirausaha milik negaraIndustriMedia negaraPendahulu China Central Television China National Radio China Radio International Didirikan21 Maret 2018; 6 tahun lalu (2018-03-21)KantorpusatChin...

Protected area in New York, US Amagansett National Wildlife RefugeIUCN category IV (habitat/species management area)Dunes at Amagansett National Wildlife RefugeShow map of New YorkShow map of the United StatesLocationSuffolk County, New York, United StatesNearest cityAmagansett, New YorkCoordinates40°58′11″N 72°07′35″W / 40.96972°N 72.12638°W / 40.96972; -72.12638[1]Area36 acres (15 ha)Established1968Governing bodyU.S. Fish and Wildli...

 

Pandemi COVID-19 di HawaiiPeta penyebaran di Hawaii menurut persen orang yang terinfeksi (pada 11 Oktober)   10.00%+ terkonfirmasi terinfeksi   3.00%-10.00% terkonfirmasi terinfeksi   1.00%-3.00% terkonfirmasi terinfeksi   0.30%-1.00% terkonfirmasi terinfeksi   0.10%-0.30% terkonfirmasi terinfeksi   0.03%-0.10% terkonfirmasi terinfeksi   0.00%-0.03% terkonfirmasi terinfeksiPenyakitCOVID-19Galur virusSARS-CoV-2LokasiHawaii, ...

 

Municipality in Basque Country, SpainLeioaMunicipalityLeioa town hall Coat of armsLeioaLocation of Leioa within the Basque CountryCoordinates: 43°19′44″N 2°59′5″W / 43.32889°N 2.98472°W / 43.32889; -2.98472Country SpainAutonomous Community Basque CountryProvinceBiscayComarcaGreater BilbaoArea • Total8.5 km2 (3.3 sq mi)Elevation(AMSL)30 m (100 ft)Population (2018)[1] • Total31,495 �...

Disambiguazione – Se stai cercando il comune di Celje, ente amministrativo in cui ricade la città omonima, vedi Celje (comune). Questa voce o sezione sull'argomento centri abitati della Slovenia non cita le fonti necessarie o quelle presenti sono insufficienti. Commento: Assenza grave di fonti, in particolare nella sezione storica Puoi migliorare questa voce aggiungendo citazioni da fonti attendibili secondo le linee guida sull'uso delle fonti. Segui i suggerimenti del progetto di ri...

 

Boderonne La Boderonne à Villy-en-Trodes Caractéristiques Longueur 19,7 km Bassin collecteur Seine Débit moyen (Montreuil-sur-Barse) Cours Source le Val Binet · Localisation Beurey · Altitude 203 m · Coordonnées 48° 10′ 59″ N, 4° 27′ 09″ E Confluence Barse · Localisation Montreuil-sur-Barse · Altitude 125 m · Coordonnées 48° 13′ 37″ N, 4° 17′ 58″ E Géographie Principaux affluents · Riv...

 

هذه المقالة بحاجة لصندوق معلومات. فضلًا ساعد في تحسين هذه المقالة بإضافة صندوق معلومات مخصص إليها. يفتقر محتوى هذه المقالة إلى الاستشهاد بمصادر. فضلاً، ساهم في تطوير هذه المقالة من خلال إضافة مصادر موثوق بها. أي معلومات غير موثقة يمكن التشكيك بها وإزالتها. (مارس 2016) مسجد داع...

Walter CinciripiniInformazioni personaliArbitro di Calcio SezioneAscoli Piceno Attività nazionale AnniCampionatoRuolo 1986-19891989-1996Serie C1 e C2[1]Serie A e BArbitroArbitro Attività internazionale AnniConfederazioneRuolo 1993-1995UEFA e FIFAArbitro Premi AnnoPremio 1991Premio Giorgio Bernardi Walter Cinciripini (Ascoli Piceno, 11 marzo 1952) è un ex arbitro di calcio italiano. Indice 1 Biografia 2 Note 3 Bibliografia 4 Collegamenti esterni Biografia Debuttò in serie A il 7 ot...

 

Stars de Dallas Données-clés Fondation 1993 Siège Dallas (Texas, États-Unis) Patinoire (aréna) American Airlines Center(18 532 places) Couleurs Noir, vert, argent, blanc                        Ligue Ligue nationale de hockey Association Association de l'Ouest Division Division Centrale Capitaine Jamie Benn Capitaines adjoints Miro HeiskanenTyler SeguinEsa LindellJoseph Pavelski ...