CWE Top 25 Breakdown - Part 1 of 4

Thursday, March 19, 2009

This week, we’ll take a look at the recently published CWE Top 25 Most Dangerous Programming Errors. Since the Top 25 are broken into three main categories, it makes sense to address the list in three separate segments. But first, let’s review what the CWE Top 25 is and its importance.

Introduction
The CWE Top 25 Most Dangerous Programming Errors was developed in late 2008 by over 30 industry experts in collaboration with SANS and Mitre to highlight the dangerous and common programming errors affecting today’s applications.

Although this list does not directly address web-based programming errors, it certainly applies to today’s most commonly abused web application security flaws.

Over the next 3 installments of this article, we will discuss the common assessment and remediation points of the entire list, and how your organization can defend against them. You may be surprised to find that the majority of these issues come down to lazy programming, and an overall lack of knowledge of basic HTML concepts.

We will discuss the specifics of each of the Top 25 and give specific examples of poorly-coded web apps that lead to these exposures, as well as the simple methods of remediation. We will also reference numerous external sources to help you with identifying where these principles of secure coding can be introduced into your organization’s SDLC.

The Top 25
Insecure Interaction Between Components

These weaknesses are related to insecure ways in which data is sent and received between separate components, modules, programs, processes, threads, or systems.

* CWE-20: Improper Input Validation
* CWE-116: Improper Encoding or Escaping of Output
* CWE-89: Failure to Preserve SQL Query Structure (aka ‘SQL Injection’)
* CWE-79: Failure to Preserve Web Page Structure (aka ‘Cross-site Scripting’)
* CWE-78: Failure to Preserve OS Command Structure (aka ‘OS Command Injection’)
* CWE-319: Cleartext Transmission of Sensitive Information
* CWE-352: Cross-Site Request Forgery (CSRF)
* CWE-362: Race Condition
* CWE-209: Error Message Information Leak

Risky Resource Management

The weaknesses in this category are related to ways in which software does not properly manage the creation, usage, transfer, or destruction of important system resources.

* CWE-119: Failure to Constrain Operations within the Bounds of a Memory Buffer
* CWE-642: External Control of Critical State Data
* CWE-73: External Control of File Name or Path
* CWE-426: Untrusted Search Path
* CWE-94: Failure to Control Generation of Code (aka ‘Code Injection’)
* CWE-494: Download of Code Without Integrity Check
* CWE-404: Improper Resource Shutdown or Release
* CWE-665: Improper Initialization
* CWE-682: Incorrect Calculation

Porous Defenses

The weaknesses in this category are related to defensive techniques that are often misused, abused, or just plain ignored.

* CWE-285: Improper Access Control (Authorization)
* CWE-327: Use of a Broken or Risky Cryptographic Algorithm
* CWE-259: Hard-Coded Password
* CWE-732: Insecure Permission Assignment for Critical Resource
* CWE-330: Use of Insufficiently Random Values
* CWE-250: Execution with Unnecessary Privileges
* CWE-602: Client-Side Enforcement of Server-Side Security

Original source:
http://hackyourself.net/blog1/2009/03/19/cwe-top-25-breakdown-part-1-of-4/
Possibly Related Articles:
12579
Webappsec->General
Higher Education
XSS OWASP HTTP Security
Post Rating I Like this!
Default-avatar
avelin injector http://blogdemellizos.blogspot.com/2014/03/contoh-naskah-drama-singkat-anak-sekolah.html
http://blogdemellizos.blogspot.com/2014/03/kata-kata-mutiara-bijak-malam-hari-indah.html
http://blogdemellizos.blogspot.com/2014/03/kata-kata-mutiara-bijak-ibu-kepada-anaknya.html
http://blogdemellizos.blogspot.com/2014/03/kata-kata-mutiara-doa-untuk-ibu-bunda-tercinta.html
http://blogdemellizos.blogspot.com/2014/03/contoh-naskah-drama-persahabatan-menyesal.html
http://blogdemellizos.blogspot.com/2014/02/kata-kata-mutiara-bijak-motivasi-indah-sore-hari.html

http://blogdemellizos.blogspot.com/2014/02/kata-kata-motivasi-mutiara-bijak-indah-sore-hari.html
http://blogdemellizos.blogspot.com/2014/02/kata-kata-galau-sedih-kesepian-tanpa-cinta-malam-hari.html
http://blogdemellizos.blogspot.com/2014/02/kata-kata-move-on-hati-yang-tersakiti-cinta.html
http://blogdemellizos.blogspot.com/2014/02/kata-kata-mutiara-hati-yang-paling-dalam.html
http://blogdemellizos.blogspot.com/2014/02/kata-kata-doa-mutiara-indah-buat-bunda-tercinta.html
http://blogdemellizos.blogspot.com/2014/02/kata-kata-doaku-indah-pagi-hari-doa-motivasi-bijak-hari-ini.html

http://blogdemellizos.blogspot.com/2014/02/kata-kata-jomblo-ngenes-lucu-gokil-ngaco-romantis.html
http://blogdemellizos.blogspot.com/2014/02/kata-kata-nasehat-mutiara-bijak-islami-pagi-hari.html
http://blogdemellizos.blogspot.com/2014/02/puisi-pagi-hari-ucapan-selamat-pagi-romantis.html
http://blogdemellizos.blogspot.com/2014/02/kata-kata-doa-indah-sabar-dan-ikhlas.html
http://blogdemellizos.blogspot.com/2014/02/kata-kata-nasehat-lucu-ngaco-gokil.html
http://blogdemellizos.blogspot.com/2014/02/kata-kata-ucapan-selamat-tidur-romantis.html

http://blogdemellizos.blogspot.com/2014/01/kata-kata-kesetiaan-cinta-sejati.html
http://blogdemellizos.blogspot.com/2014/01/pantun-gombal-cinta-romantis-gokil-lucu.html
http://blogdemellizos.blogspot.com/2014/01/kata-kata-mutiara-cinta-islam-untuk-wanita.html
http://blogdemellizos.blogspot.com/2014/01/kata-kata-romantis-cinta-malam-hari.html
http://blogdemellizos.blogspot.com/2013/12/kata-kata-galau-cinta-buat-pacar.html
http://blogdemellizos.blogspot.com/2013/12/kata-kata-nasehat-bijak-ayah-tercinta.html

http://blogdemellizos.blogspot.com/2013/12/kata-kata-nasehat-ibu-kepada-anaknya.html
http://blogdemellizos.blogspot.com/2013/12/kata-kata-nasehat-bijak-ibu-tersayang.html
http://blogdemellizos.blogspot.com/2013/12/kata-kata-bijak-pagi-hari-yang-cerah.html
http://blogdemellizos.blogspot.com/2013/11/kata-kata-doa-pagi-renungan-mutiara-pagi-hari.html
http://blogdemellizos.blogspot.com/2013/11/kata-kata-galau-sakit-hati-kecewa.html
http://blogdemellizos.blogspot.com/2013/11/kata-kata-cinta-menyentuh-hati.html

http://blogdemellizos.blogspot.com/2013/11/kata-kata-galau-karena-mantan-pacar.html
http://blogdemellizos.blogspot.com/2013/10/kata-kata-renungan-cinta-malam-hari.html
http://blogdemellizos.blogspot.com/2013/10/kata-kata-bijak-cinta-penuh-makna.html
http://blogdemellizos.blogspot.com/2014/11/kata-kata-nyindir-orang-sombong.html
http://blogdemellizos.blogspot.com/2014/11/kata-kata-malam-minggu-yang-sepi.html
http://blogdemellizos.blogspot.com/2014/11/kata-kata-cinta-buat-gebetan.html

http://blogdemellizos.blogspot.com/2014/11/kata-kata-kecewa-buat-pacar.html
http://blogdemellizos.blogspot.com/2014/11/kata-kata-sedih-buat-pacar.html
http://blogdemellizos.blogspot.com/2014/11/kata-kata-dibohongi.html
http://blogdemellizos.blogspot.com/2014/10/kata-kata-patah-hati-kecewa-karena-cinta.html
http://blogdemellizos.blogspot.com/2014/10/kata-kata-lucu-banget-bahasa-jawa.html
http://blogdemellizos.blogspot.com/2014/10/kata-kata-rindu-buat-pacar.html

http://blogdemellizos.blogspot.com/2014/10/contoh-surat-izin-tidak-masuk-sekolah.html
http://blogdemellizos.blogspot.com/2014/10/kata-kata-sakit-hati-kecewa-untuk-teman.html
http://blogdemellizos.blogspot.com/2014/10/gambar-dp-bbm-anak-racing.html
http://blogdemellizos.blogspot.com/2014/10/kata-kata-sindiran-halus-buat-teman.html
http://blogdemellizos.blogspot.com/2014/10/kata-kata-pacaran-jarak-jauh.html
http://blogdemellizos.blogspot.com/2014/10/gambar-wallpaper-bunga-melati-putih.html

http://blogdemellizos.blogspot.com/2014/10/kata-kata-aku-bahagia-bersamamu.html
http://blogdemellizos.blogspot.com/2014/10/tes-iq-online-indonesia.html
http://blogdemellizos.blogspot.com/2014/10/kata-kata-benci.html
http://blogdemellizos.blogspot.com/2014/10/cinta-bertepuk-sebelah-tangan.html
http://blogdemellizos.blogspot.com/2014/10/kata-kata-anak-racing-drag-balap-motor.html
http://blogdemellizos.blogspot.com/2014/10/model-kebaya-wisuda.html

http://blogdemellizos.blogspot.com/2014/10/kata-kata-sindiran-lucu-gokil-buat-pacar.html
http://blogdemellizos.blogspot.com/2014/10/kata-kata-sindiran-buat-orang-sirik-iri.html
http://blogdemellizos.blogspot.com/2014/10/contoh-surat-kuasa-pengambilan-bpkb.html
http://blogdemellizos.blogspot.com/2014/10/contoh-surat-permohonan-izin-cuti-menikah.html
http://blogdemellizos.blogspot.com/2014/10/contoh-surat-izin-tidak-masuk-kuliah.html
http://blogdemellizos.blogspot.com/2014/10/contoh-surat-permohonan-magang-kerja-resmi.html

http://blogdemellizos.blogspot.com/2014/10/contoh-slip-gaji-bulanan-karyawan-swasta.html
http://blogdemellizos.blogspot.com/2014/10/download-dp-bbm-lucu-gokil-unik-terbaru.html
http://blogdemellizos.blogspot.com/2014/10/sakitnya-tuh-disini.html
http://blogdemellizos.blogspot.com/2014/10/gambar-dp-bbm-sindiran-halus-buat-pacar.html
http://blogdemellizos.blogspot.com/2014/10/gambar-dan-kata-kata-doa-kristen-rohani.html
http://blogdemellizos.blogspot.com/2014/10/gambar-kata-kata-gokil-unik-keren-lucu.html

http://blogdemellizos.blogspot.com/2014/10/gambar-foto-kata-kata-gombal-cinta-romantis.html
http://blogdemellizos.blogspot.com/2014/10/gambar-dp-bbm-motivasi-semangat-pagi-hari.html
http://blogdemellizos.blogspot.com/2014/10/download-gambar-foto-kata-kata-cinta-romantis.html
http://blogdemellizos.blogspot.com/2014/10/wallpaper-kata-kata-galau-lucu-terbaru.html
http://blogdemellizos.blogspot.com/2014/10/gambar-kata-kata-cemburu-cinta-buat-pacar.html
http://blogdemellizos.blogspot.com/2014/10/wallpaper-kata-kata-mutiara-indah-terbaru.html

http://blogdemellizos.blogspot.com/2014/10/wallpaper-kata-kata-cinta-romantis-terbaru.html
http://blogdemellizos.blogspot.com/2014/10/wallpaper-kata-kata-lucu-gokil-unik-terbaru.html
http://blogdemellizos.blogspot.com/2014/10/gambar-foto-kata-kata-mutiara-bijak-islam.html
http://blogdemellizos.blogspot.com/2014/10/gambar-display-picture-bbm-galau-sedih.html
http://blogdemellizos.blogspot.com/2014/10/gambar-display-picture-bbm-mutiara-cinta-romantis.html
http://blogdemellizos.blogspot.com/2014/10/gambar-display-picture-bbm-lucu-unik-gokil.html

http://blogdemellizos.blogspot.com/2014/10/download-foto-foto-lucu-untuk-dp-bbm-terbaru.html
http://blogdemellizos.blogspot.com/2014/10/kata-kata-motivasi-galau-cinta-mario-teguh.html
http://blogdemellizos.blogspot.com/2014/10/gambar-dp-bbm-naruto-shippuden-terbaru.html
http://blogdemellizos.blogspot.com/2014/10/gambar-dp-bbm-kata-kata-mutiara-lelah-menunggu.html
http://blogdemellizos.blogspot.com/2014/10/kata-kata-lelah-hati-ini-menunggu-cinta.html
http://blogdemellizos.blogspot.com/2014/10/gambar-tulisan-galau-sedih-buat-dp-bbm.html

http://blogdemellizos.blogspot.com/2014/03/kata-kata-mutiara-cinta-suami-istri.html
http://blogdemellizos.blogspot.com/2014/10/gambar-dp-bbm-kata-kata-sakitnya-tuh-disini.html
http://blogdemellizos.blogspot.com/2014/09/gambar-dp-bbm-kata-kata-pantang-menyerah.html
http://blogdemellizos.blogspot.com/2014/09/gambar-dp-bbm-kata-kata-bijak-selingkuh.html
http://blogdemellizos.blogspot.com/2014/09/gambar-kata-kata-rindu-mantan-kekasih.html
http://blogdemellizos.blogspot.com/2014/09/gambar-dp-bbm-sakit-kepala-pusing-mumet-jenuh.html

http://blogdemellizos.blogspot.com/2014/09/gambar-dp-bbm-kata-kata-bosan-bete-capek.html
http://blogdemellizos.blogspot.com/2014/09/gambar-dp-bbm-kata-kata-karma-cinta-buat-mantan.html
http://blogdemellizos.blogspot.com/2014/09/gambar-dp-bbm-kata-kata-mutiara-bijak-putus-asa.html
http://blogdemellizos.blogspot.com/2014/09/gambar-dp-bbm-kata-kata-sayang-romantis.html
http://blogdemellizos.blogspot.com/2014/09/gambar-dp-bbm-gokil-lucu-kocak-unik-terbaru.html
http://blogdemellizos.blogspot.com/2014/09/kata-kata-mutiara-bijak-sindiran-lucu.html

http://blogdemellizos.blogspot.com/2014/09/download-gambar-kata-kata-galau-sedih-kecewa.html
http://blogdemellizos.blogspot.com/2014/09/download-gambar-kata-kata-sakit-hati-kecewa.html
http://blogdemellizos.blogspot.com/2014/09/download-gambar-kata-kata-mutiara-bijak-terbaru.html
http://blogdemellizos.blogspot.com/2014/09/kata-kata-rindu-kangen-sahabat-tercinta.html
http://blogdemellizos.blogspot.com/2014/09/kata-kata-romantis-merindukan-seorang-kekasih.html
http://blogdemellizos.blogspot.com/2014/09/gambar-dp-bbm-kata-kata-sindiran-mantan-penghianat.html

http://ikatakataromantis.blogspot.com/2014/01/kata-kata-romantis-buat-mantan-kekasih.html
http://ikatakataromantis.blogspot.com/2014/01/kata-kata-galau-kecewa-sakit-hati.html
http://ikatakataromantis.blogspot.com/2014/01/kata-kata-galau-sedih-patah-hati.html
http://ikatakataromantis.blogspot.com/2014/09/gambar-dp-bbm-kata-kata-sindiran-pacar-sok-sibuk.html
http://ikatakataromantis.blogspot.com/2014/09/kata-kata-menyindir-pacar-yang-cuek-jutek.html

http://ikatakataromantis.blogspot.com/2013/12/kata-kata-galau-sedih-romantis.html
http://ikatakataromantis.blogspot.com/2014/04/kata-kata-sindiran-buat-orang-sombong.html
http://ikatakataromantis.blogspot.com/2014/04/kata-kata-sindiran-buat-orang-munafik.html
http://ikatakataromantis.blogspot.com/2014/04/kata-kata-romantis-buat-istri-tercinta.html

http://ikatakataromantis.blogspot.com/2014/10/gambar-sedih-sakit-hati-buat-dp-bbm.html
http://ikatakataromantis.blogspot.com/2014/10/gambar-tulisan-galau-sedih-buat-dp-bbm.html
http://ikatakataromantis.blogspot.com/2014/09/kata-kata-motivasi-bijak-putus-cinta.html
http://ikatakataromantis.blogspot.com/2014/09/kata-kata-semangat-buat-patah-hati-karena-cinta.html
http://ikatakataromantis.blogspot.com/2014/09/gambar-kata-kata-indah-buat-pacar-tercinta.html
http://ikatakataromantis.blogspot.com/

http://ikatakataromantis.blogspot.com/2014/09/gambar-kata-kata-sayang-tulus-sama-pacar.html
http://ikatakataromantis.blogspot.com/2014/09/gambar-dp-bbm-kata-kata-galau-lelah-capek-jenuh.html
http://ikatakataromantis.blogspot.com/2014/09/gambar-dp-bbm-kata-kata-keren-gaul-gokil.html
http://ikatakataromantis.blogspot.com/2014/09/gambar-foto-dp-bbm-sakit-hati-karena-cinta.html
http://ikatakataromantis.blogspot.com/2014/09/gambar-dp-bbm-kata-kata-lelah-bosan-menunggu.html
http://ikatakataromantis.blogspot.com/2014/09/gambar-kata-kata-marah-kecewa-kesal-buat-pacar.html

http://ikatakataromantis.blogspot.com/2014/09/kata-kata-mutiara-cinta-buat-mantan-kekasih.html
http://ikatakataromantis.blogspot.com/2014/09/gambar-dp-bbm-menghina-menyinggung-mantan.html
http://ikatakataromantis.blogspot.com/2014/09/gambar-dp-bbm-kata-kata-buat-orang-sirik-iri-dengki.html
http://ikatakataromantis.blogspot.com/2014/09/gambar-dp-bbm-kata-kata-sindiran-mantan-munafik.html
http://ikatakataromantis.blogspot.com/2014/09/gambar-dp-bbm-kata-kata-lucu-gokil-buat-mantan.html
http://ikatakataromantis.blogspot.com/2014/09/gambar-dp-bbm-kata-kata-sindiran-buat-pacar-egois.html
1417349227