{"id":55,"date":"2009-02-19T16:43:16","date_gmt":"2009-02-19T11:13:16","guid":{"rendered":"https:\/\/www.qadit.com\/blog\/?p=55"},"modified":"2009-02-20T14:57:27","modified_gmt":"2009-02-20T09:27:27","slug":"top-25-software-programming-errors","status":"publish","type":"post","link":"https:\/\/qadit.com\/blog\/top-25-software-programming-errors\/","title":{"rendered":"Top 25 Software Programming Errors"},"content":{"rendered":"<p style=\"text-align: justify;\">&nbsp;<\/p>\n<p style=\"text-align: justify;\">MITRE Corp. and The SANS Institute, participants in what&#8217;s called the Common Weakness Enumeration (CWE) project organized by the U.S. Department of Homeland Security&#8217;s National Cybersecurity Division, have come out with a list of Top 25 Programming Errors in Software. <!--more--><\/p>\n<p style=\"text-align: justify;\">&nbsp;<\/p>\n<p style=\"text-align: justify;\">The Top 25 is organized into three high-level categories.<\/p>\n<p style=\"text-align: justify;\">&nbsp;<\/p>\n<p style=\"text-align: justify;\"><strong>Category 1 &#8211; Insecure Interaction Between Components<\/strong><\/p>\n<p style=\"text-align: justify;\">&nbsp;<\/p>\n<p style=\"text-align: justify;\">These weaknesses are related to insecure ways in which data is sent and received between separate components, modules, programs, processes, threads, or systems. <\/p>\n<p style=\"text-align: justify;\">&nbsp;<\/p>\n<p style=\"text-align: justify;\">\n1) Improper Input Validation <br \/>\n2) Improper Encoding or Escaping of Output <br \/>\n3) Failure to Preserve SQL Query Structure (aka &#8216;SQL Injection&#8217;) <br \/>\n4) Failure to Preserve Web Page Structure (aka &#8216;Cross-site Scripting&#8217;) <br \/>\n5) Failure to Preserve OS Command Structure (aka &#8216;OS Command Injection&#8217;) <br \/>\n6) Cleartext Transmission of Sensitive Information <br \/>\n7) Cross-Site Request Forgery (CSRF) <br \/>\n8 ) \u00a0Race Condition <br \/>\n9) Error Message Information Leak <\/p>\n<p style=\"text-align: justify;\">&nbsp;<\/p>\n<p style=\"text-align: justify;\"><strong>Category 2 &#8211; Risky Resource Management<\/strong><\/p>\n<p style=\"text-align: justify;\">&nbsp;<\/p>\n<p style=\"text-align: justify;\">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. <\/p>\n<p style=\"text-align: justify;\">&nbsp;<\/p>\n<p style=\"text-align: justify;\">10) Failure to Constrain Operations within the Bounds of a Memory Buffer <br \/>\n11) External Control of Critical State Data <br \/>\n12) External Control of File Name or Path <br \/>\n13) Untrusted Search Path <br \/>\n14) Failure to Control Generation of Code (aka &#8216;Code Injection&#8217;) <br \/>\n15) Download of Code Without Integrity Check <br \/>\n16) Improper Resource Shutdown or Release <br \/>\n17) Improper Initialization <br \/>\n18) Incorrect Calculation <\/p>\n<p style=\"text-align: justify;\">&nbsp;<\/p>\n<p style=\"text-align: justify;\"><strong>Category 3 &#8211; Porous Defenses<\/strong><\/p>\n<p style=\"text-align: justify;\">&nbsp;<\/p>\n<p style=\"text-align: justify;\">The weaknesses in this category are related to defensive techniques that are often misused, abused, or just plain ignored. <\/p>\n<p style=\"text-align: justify;\">&nbsp;<\/p>\n<p style=\"text-align: justify;\">\n19) Improper Access Control (Authorization) <br \/>\n20) Use of a Broken or Risky Cryptographic Algorithm <br \/>\n21) Hard-Coded Password <br \/>\n22) Insecure Permission Assignment for Critical Resource <br \/>\n23) Use of Insufficiently Random Values <br \/>\n24) Execution with Unnecessary Privileges <br \/>\n25) Client-Side Enforcement of Server-Side Security <\/p>\n<p style=\"text-align: justify;\">&nbsp;<\/p>\n<p style=\"text-align: justify;\">To read more about how these Top 25 errors were shortlisted and what each of these means, visit the official listing page at <a href=\"https:\/\/cwe.mitre.org\/top25\/\">https:\/\/cwe.mitre.org\/top25\/<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; MITRE Corp. and The SANS Institute, participants in what&#8217;s called the Common Weakness Enumeration (CWE) project organized by the U.S. Department of Homeland Security&#8217;s National Cybersecurity Division, have come out with a list of Top 25 Programming Errors in Software.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[12],"tags":[22],"class_list":["post-55","post","type-post","status-publish","format-standard","hentry","category-itsec","tag-software-errors"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9AH7Q-T","_links":{"self":[{"href":"https:\/\/qadit.com\/blog\/wp-json\/wp\/v2\/posts\/55","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/qadit.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/qadit.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/qadit.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/qadit.com\/blog\/wp-json\/wp\/v2\/comments?post=55"}],"version-history":[{"count":0,"href":"https:\/\/qadit.com\/blog\/wp-json\/wp\/v2\/posts\/55\/revisions"}],"wp:attachment":[{"href":"https:\/\/qadit.com\/blog\/wp-json\/wp\/v2\/media?parent=55"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/qadit.com\/blog\/wp-json\/wp\/v2\/categories?post=55"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/qadit.com\/blog\/wp-json\/wp\/v2\/tags?post=55"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}