Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696
  1. {
  2. "owaspTop10": {
  3. "a1": {
  4. "title": "Injection",
  5. "description":
  6. "Injection flaws, such as SQL, NoSQL, OS, and LDAP injection, occur when untrusted data is sent to an interpreter as part of a command or query. The attacker's hostile data can trick the interpreter into executing unintended commands or accessing data without proper authorization."
  7. },
  8. "a2": {
  9. "title": "Broken Authentication",
  10. "description":
  11. "Application functions related to authentication and session management are often implemented incorrectly, allowing attackers to compromise passwords, keys, or session tokens, or to exploit other implementation flaws to assume other users' identities temporarily or permanently."
  12. },
  13. "a3": {
  14. "title": "Sensitive Data Exposure",
  15. "description":
  16. "Many web applications and APIs do not properly protect sensitive data, such as financial, healthcare, and PII. Attackers may steal or modify such weakly protected data to conduct credit card fraud, identity theft, or other crimes. Sensitive data may be compromised without extra protection, such as encryption at rest or in transit, and requires special precautions when exchanged with the browser."
  17. },
  18. "a4": {
  19. "title": "XML External Entities (XXE)",
  20. "description":
  21. "Many older or poorly configured XML processors evaluate external entity references within XML documents. External entities can be used to disclose internal files using the file URI handler, internal file shares, internal port scanning, remote code execution, and denial of service attacks."
  22. },
  23. "a5": {
  24. "title": "Broken Access Control",
  25. "description":
  26. "Restrictions on what authenticated users are allowed to do are often not properly enforced. Attackers can exploit these flaws to access unauthorized functionality and/or data, such as access other users' accounts, view sensitive files, modify other users' data, change access rights, etc."
  27. },
  28. "a6": {
  29. "title": "Security Misconfiguration",
  30. "description":
  31. "Security misconfiguration is the most commonly seen issue. This is commonly a result of insecure default configurations, incomplete or ad hoc configurations, open cloud storage, misconfigured HTTP headers, and verbose error messages containing sensitive information. Not only must all operating systems, frameworks, libraries, and applications be securely configured, but they must be patched and upgraded in a timely fashion."
  32. },
  33. "a7": {
  34. "title": "Cross-Site Scripting (XSS)",
  35. "description":
  36. "XSS flaws occur whenever an application includes untrusted data in a new web page without proper validation or escaping, or updates an existing web page with user-supplied data using a browser API that can create HTML or JavaScript. XSS allows attackers to execute scripts in the victim's browser which can hijack user sessions, deface web sites, or redirect the user to malicious sites."
  37. },
  38. "a8": {
  39. "title": "Insecure Deserialization",
  40. "description":
  41. "Insecure deserialization often leads to remote code execution. Even if deserialization flaws do not result in remote code execution, they can be used to perform attacks, including replay attacks, injection attacks, and privilege escalation attacks."
  42. },
  43. "a9": {
  44. "title": "Using Components with Known Vulnerabilities",
  45. "description":
  46. "Components, such as libraries, frameworks, and other software modules, run with the same privileges as the application. If a vulnerable component is exploited, such an attack can facilitate serious data loss or server takeover. Applications and APIs using components with known vulnerabilities may undermine application defenses and enable various attacks and impacts."
  47. },
  48. "a10": {
  49. "title": "Insufficient Logging & Monitoring",
  50. "description":
  51. "Insufficient logging and monitoring, coupled with missing or ineffective integration with incident response, allows attackers to further attack systems, maintain persistence, pivot to more systems, and tamper, extract, or destroy data. Most breach studies show time to detect a breach is over 200 days, typically detected by external parties rather than internal processes or monitoring."
  52. }
  53. },
  54. "sansTop25": {
  55. "insecure-interaction": {
  56. "title": "Insecure Interaction Between Components",
  57. "description":
  58. "These weaknesses are related to insecure ways in which data is sent and received between separate components, modules, programs, processes, threads, or systems."
  59. },
  60. "risky-resource": {
  61. "title": "Risky Resource Management",
  62. "description":
  63. "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."
  64. },
  65. "porous-defenses": {
  66. "title": "Porous Defenses",
  67. "description":
  68. "The weaknesses in this category are related to defensive techniques that are often misused, abused, or just plain ignored."
  69. }
  70. },
  71. "cwe": {
  72. "unknown": {
  73. "title": "No CWE associated"
  74. },
  75. "1004": {
  76. "title": "Sensitive Cookie Without 'HttpOnly' Flag",
  77. "description":
  78. "The software uses a cookie to store sensitive information, but the cookie is not marked with the HttpOnly flag."
  79. },
  80. "1007": {
  81. "title": "Insufficient Visual Distinction of Homoglyphs Presented to User",
  82. "description":
  83. "The software displays information or identifiers to a user, but the display mechanism does not make it easy for the user to distinguish between visually similar or identical glyphs (homoglyphs), which may cause the user to misinterpret a glyph and perform an unintended, insecure action."
  84. },
  85. "102": {
  86. "title": "Struts: Duplicate Validation Forms",
  87. "description":
  88. "The application uses multiple validation forms with the same name, which might cause the Struts Validator to validate a form that the programmer does not expect."
  89. },
  90. "1021": {
  91. "title": "Improper Restriction of Rendered UI Layers or Frames",
  92. "description":
  93. "The web application does not restrict or incorrectly restricts frame objects or UI layers that belong to another application or domain, which can lead to user confusion about which interface the user is interacting with."
  94. },
  95. "1022": {
  96. "title": "Use of Web Link to Untrusted Target with window.opener Access",
  97. "description":
  98. "The web application produces links to untrusted external sites outside of its sphere of control, but it does not properly prevent the external site from modifying security-critical properties of the window.opener object, such as the location property."
  99. },
  100. "1023": {
  101. "title": "Incomplete Comparison with Missing Factors",
  102. "description":
  103. "The software performs a comparison between entities that must consider multiple factors or characteristics of each entity, but the comparison does not include one or more of these factors. This can lead to resultant weaknesses, e.g. by operating on the wrong object."
  104. },
  105. "1024": {
  106. "title": "Comparison of Incompatible Types",
  107. "description":
  108. "The software performs a comparison between two entities, but the entities are of different, incompatible types that cannot be guaranteed to provide correct results when they are directly compared."
  109. },
  110. "1025": {
  111. "title": "Comparison Using Wrong Factors",
  112. "description":
  113. "The software performs a comparison between two entities, but the comparison examines the wrong factors or characteristics of the entities, which can lead to incorrect results and resultant weaknesses."
  114. },
  115. "103": {
  116. "title": "Struts: Incomplete validate() Method Definition",
  117. "description":
  118. "The application has a validator form that either does not define a validate() method, or defines a validate() method but does not call super.validate()."
  119. },
  120. "1037": {
  121. "title": "Processor Optimization Removal or Modification of Security-critical Code",
  122. "description":
  123. "The developer builds a security-critical protection mechanism into the software, but the processor optimizes the execution of the program such that the mechanism is removed or modified."
  124. },
  125. "1038": {
  126. "title": "Insecure Automated Optimizations",
  127. "description":
  128. "The product uses a mechanism that automatically optimizes code, e.g. to improve a characteristic such as performance, but the optimizations can have an unintended side effect that might violate an intended security assumption."
  129. },
  130. "1039": {
  131. "title":
  132. "Automated Recognition Mechanism with Inadequate Detection or Handling of Adversarial Input Perturbations",
  133. "description":
  134. "The product uses an automated mechanism such as machine learning to recognize complex data inputs (e.g. image or audio) as a particular concept or category, but it does not properly detect or handle inputs that have been modified or constructed in a way that causes the mechanism to detect a different, incorrect concept."
  135. },
  136. "104": {
  137. "title": "Struts: Form Bean Does Not Extend Validation Class",
  138. "description":
  139. "If a form bean does not extend an ActionForm subclass of the Validator framework, it can expose the application to other weaknesses related to insufficient input validation."
  140. },
  141. "105": {
  142. "title": "Struts: Form Field Without Validator",
  143. "description":
  144. "The application has a form field that is not validated by a corresponding validation form, which can introduce other weaknesses related to insufficient input validation."
  145. },
  146. "106": {
  147. "title": "Struts: Plug-in Framework not in Use",
  148. "description":
  149. "When an application does not use an input validation framework such as the Struts Validator, there is a greater risk of introducing weaknesses related to insufficient input validation."
  150. },
  151. "107": {
  152. "title": "Struts: Unused Validation Form",
  153. "description": "An unused validation form indicates that validation logic is not up-to-date."
  154. },
  155. "108": {
  156. "title": "Struts: Unvalidated Action Form",
  157. "description": "Every Action Form must have a corresponding validation form."
  158. },
  159. "109": {
  160. "title": "Struts: Validator Turned Off",
  161. "description":
  162. "Automatic filtering via a Struts bean has been turned off, which disables the Struts Validator and custom validation logic. This exposes the application to other weaknesses related to insufficient input validation."
  163. },
  164. "11": {
  165. "title": "ASP.NET Misconfiguration: Creating Debug Binary",
  166. "description":
  167. "Debugging messages help attackers learn about the system and plan a form of attack."
  168. },
  169. "110": {
  170. "title": "Struts: Validator Without Form Field",
  171. "description":
  172. "Validation fields that do not appear in forms they are associated with indicate that the validation logic is out of date."
  173. },
  174. "111": {
  175. "title": "Direct Use of Unsafe JNI",
  176. "description":
  177. "When a Java application uses the Java Native Interface (JNI) to call code written in another programming language, it can expose the application to weaknesses in that code, even if those weaknesses cannot occur in Java."
  178. },
  179. "112": {
  180. "title": "Missing XML Validation",
  181. "description":
  182. "The software accepts XML from an untrusted source but does not validate the XML against the proper schema."
  183. },
  184. "113": {
  185. "title":
  186. "Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Response Splitting')",
  187. "description":
  188. "The software receives data from an upstream component, but does not neutralize or incorrectly neutralizes CR and LF characters before the data is included in outgoing HTTP headers."
  189. },
  190. "114": {
  191. "title": "Process Control",
  192. "description":
  193. "Executing commands or loading libraries from an untrusted source or in an untrusted environment can cause an application to execute malicious commands (and payloads) on behalf of an attacker."
  194. },
  195. "115": {
  196. "title": "Misinterpretation of Input",
  197. "description":
  198. "The software misinterprets an input, whether from an attacker or another product, in a security-relevant fashion."
  199. },
  200. "116": {
  201. "title": "Improper Encoding or Escaping of Output",
  202. "description":
  203. "The software prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. As a result, the intended structure of the message is not preserved."
  204. },
  205. "117": {
  206. "title": "Improper Output Neutralization for Logs",
  207. "description":
  208. "The software does not neutralize or incorrectly neutralizes output that is written to logs."
  209. },
  210. "118": {
  211. "title": "Incorrect Access of Indexable Resource ('Range Error')",
  212. "description":
  213. "The software does not restrict or incorrectly restricts operations within the boundaries of a resource that is accessed using an index or pointer, such as memory or files."
  214. },
  215. "119": {
  216. "title": "Improper Restriction of Operations within the Bounds of a Memory Buffer",
  217. "description":
  218. "The software performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer."
  219. },
  220. "12": {
  221. "title": "ASP.NET Misconfiguration: Missing Custom Error Page",
  222. "description":
  223. "An ASP .NET application must enable custom error pages in order to prevent attackers from mining information from the framework's built-in responses."
  224. },
  225. "120": {
  226. "title": "Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')",
  227. "description":
  228. "The program copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer, leading to a buffer overflow."
  229. },
  230. "121": {
  231. "title": "Stack-based Buffer Overflow",
  232. "description":
  233. "A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function)."
  234. },
  235. "122": {
  236. "title": "Heap-based Buffer Overflow",
  237. "description":
  238. "A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc()."
  239. },
  240. "123": {
  241. "title": "Write-what-where Condition",
  242. "description":
  243. "Any condition where the attacker has the ability to write an arbitrary value to an arbitrary location, often as the result of a buffer overflow."
  244. },
  245. "124": {
  246. "title": "Buffer Underwrite ('Buffer Underflow')",
  247. "description":
  248. "The software writes to a buffer using an index or pointer that references a memory location prior to the beginning of the buffer."
  249. },
  250. "125": {
  251. "title": "Out-of-bounds Read",
  252. "description":
  253. "The software reads data past the end, or before the beginning, of the intended buffer."
  254. },
  255. "126": {
  256. "title": "Buffer Over-read",
  257. "description":
  258. "The software reads from a buffer using buffer access mechanisms such as indexes or pointers that reference memory locations after the targeted buffer."
  259. },
  260. "127": {
  261. "title": "Buffer Under-read",
  262. "description":
  263. "The software reads from a buffer using buffer access mechanisms such as indexes or pointers that reference memory locations prior to the targeted buffer."
  264. },
  265. "128": {
  266. "title": "Wrap-around Error",
  267. "description":
  268. "Wrap around errors occur whenever a value is incremented past the maximum value for its type and therefore wraps around to a very small, negative, or undefined value."
  269. },
  270. "129": {
  271. "title": "Improper Validation of Array Index",
  272. "description":
  273. "The product uses untrusted input when calculating or using an array index, but the product does not validate or incorrectly validates the index to ensure the index references a valid position within the array."
  274. },
  275. "13": {
  276. "title": "ASP.NET Misconfiguration: Password in Configuration File",
  277. "description":
  278. "Storing a plaintext password in a configuration file allows anyone who can read the file access to the password-protected resource making them an easy target for attackers."
  279. },
  280. "130": {
  281. "title": "Improper Handling of Length Parameter Inconsistency ",
  282. "description":
  283. "The software parses a formatted message or structure, but it does not handle or incorrectly handles a length field that is inconsistent with the actual length of the associated data."
  284. },
  285. "131": {
  286. "title": "Incorrect Calculation of Buffer Size",
  287. "description":
  288. "The software does not correctly calculate the size to be used when allocating a buffer, which could lead to a buffer overflow."
  289. },
  290. "134": {
  291. "title": "Use of Externally-Controlled Format String",
  292. "description":
  293. "The software uses a function that accepts a format string as an argument, but the format string originates from an external source."
  294. },
  295. "135": {
  296. "title": "Incorrect Calculation of Multi-Byte String Length",
  297. "description":
  298. "The software does not correctly calculate the length of strings that can contain wide or multi-byte characters."
  299. },
  300. "138": {
  301. "title": "Improper Neutralization of Special Elements",
  302. "description":
  303. "The software receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could be interpreted as control elements or syntactic markers when they are sent to a downstream component."
  304. },
  305. "14": {
  306. "title": "Compiler Removal of Code to Clear Buffers",
  307. "description":
  308. "Sensitive memory is cleared according to the source code, but compiler optimizations leave the memory untouched when it is not read from again, aka dead store removal."
  309. },
  310. "140": {
  311. "title": "Improper Neutralization of Delimiters",
  312. "description": "The software does not neutralize or incorrectly neutralizes delimiters."
  313. },
  314. "141": {
  315. "title": "Improper Neutralization of Parameter/Argument Delimiters",
  316. "description":
  317. "The software receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could be interpreted as parameter or argument delimiters when they are sent to a downstream component."
  318. },
  319. "142": {
  320. "title": "Improper Neutralization of Value Delimiters",
  321. "description":
  322. "The software receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could be interpreted as value delimiters when they are sent to a downstream component."
  323. },
  324. "143": {
  325. "title": "Improper Neutralization of Record Delimiters",
  326. "description":
  327. "The software receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could be interpreted as record delimiters when they are sent to a downstream component."
  328. },
  329. "144": {
  330. "title": "Improper Neutralization of Line Delimiters",
  331. "description":
  332. "The software receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could be interpreted as line delimiters when they are sent to a downstream component."
  333. },
  334. "145": {
  335. "title": "Improper Neutralization of Section Delimiters",
  336. "description":
  337. "The software receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could be interpreted as section delimiters when they are sent to a downstream component."
  338. },
  339. "146": {
  340. "title": "Improper Neutralization of Expression/Command Delimiters",
  341. "description":
  342. "The software receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could be interpreted as expression or command delimiters when they are sent to a downstream component."
  343. },
  344. "147": {
  345. "title": "Improper Neutralization of Input Terminators",
  346. "description":
  347. "The software receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could be interpreted as input terminators when they are sent to a downstream component."
  348. },
  349. "148": {
  350. "title": "Improper Neutralization of Input Leaders",
  351. "description":
  352. "The application does not properly handle when a leading character or sequence (leader) is missing or malformed, or if multiple leaders are used when only one should be allowed."
  353. },
  354. "149": {
  355. "title": "Improper Neutralization of Quoting Syntax",
  356. "description":
  357. "Quotes injected into an application can be used to compromise a system. As data are parsed, an injected/absent/duplicate/malformed use of quotes may cause the process to take unexpected actions."
  358. },
  359. "15": {
  360. "title": "External Control of System or Configuration Setting",
  361. "description":
  362. "One or more system settings or configuration elements can be externally controlled by a user."
  363. },
  364. "150": {
  365. "title": "Improper Neutralization of Escape, Meta, or Control Sequences",
  366. "description":
  367. "The software receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could be interpreted as escape, meta, or control character sequences when they are sent to a downstream component."
  368. },
  369. "151": {
  370. "title": "Improper Neutralization of Comment Delimiters",
  371. "description":
  372. "The software receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could be interpreted as comment delimiters when they are sent to a downstream component."
  373. },
  374. "152": {
  375. "title": "Improper Neutralization of Macro Symbols",
  376. "description":
  377. "The software receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could be interpreted as macro symbols when they are sent to a downstream component."
  378. },
  379. "153": {
  380. "title": "Improper Neutralization of Substitution Characters",
  381. "description":
  382. "The software receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could be interpreted as substitution characters when they are sent to a downstream component."
  383. },
  384. "154": {
  385. "title": "Improper Neutralization of Variable Name Delimiters",
  386. "description":
  387. "The software receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could be interpreted as variable name delimiters when they are sent to a downstream component."
  388. },
  389. "155": {
  390. "title": "Improper Neutralization of Wildcards or Matching Symbols",
  391. "description":
  392. "The software receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could be interpreted as wildcards or matching symbols when they are sent to a downstream component."
  393. },
  394. "156": {
  395. "title": "Improper Neutralization of Whitespace",
  396. "description":
  397. "The software receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could be interpreted as whitespace when they are sent to a downstream component."
  398. },
  399. "157": {
  400. "title": "Failure to Sanitize Paired Delimiters",
  401. "description":
  402. "The software does not properly handle the characters that are used to mark the beginning and ending of a group of entities, such as parentheses, brackets, and braces."
  403. },
  404. "158": {
  405. "title": "Improper Neutralization of Null Byte or NUL Character",
  406. "description":
  407. "The software receives input from an upstream component, but it does not neutralize or incorrectly neutralizes NUL characters or null bytes when they are sent to a downstream component."
  408. },
  409. "159": {
  410. "title": "Failure to Sanitize Special Element",
  411. "description":
  412. "Weaknesses in this attack-focused category do not properly filter and interpret special elements in user-controlled input which could cause adverse effect on the software behavior and integrity."
  413. },
  414. "160": {
  415. "title": "Improper Neutralization of Leading Special Elements",
  416. "description":
  417. "The software receives input from an upstream component, but it does not neutralize or incorrectly neutralizes leading special elements that could be interpreted in unexpected ways when they are sent to a downstream component."
  418. },
  419. "161": {
  420. "title": "Improper Neutralization of Multiple Leading Special Elements",
  421. "description":
  422. "The software receives input from an upstream component, but it does not neutralize or incorrectly neutralizes multiple leading special elements that could be interpreted in unexpected ways when they are sent to a downstream component."
  423. },
  424. "162": {
  425. "title": "Improper Neutralization of Trailing Special Elements",
  426. "description":
  427. "The software receives input from an upstream component, but it does not neutralize or incorrectly neutralizes trailing special elements that could be interpreted in unexpected ways when they are sent to a downstream component."
  428. },
  429. "163": {
  430. "title": "Improper Neutralization of Multiple Trailing Special Elements",
  431. "description":
  432. "The software receives input from an upstream component, but it does not neutralize or incorrectly neutralizes multiple trailing special elements that could be interpreted in unexpected ways when they are sent to a downstream component."
  433. },
  434. "164": {
  435. "title": "Improper Neutralization of Internal Special Elements",
  436. "description":
  437. "The software receives input from an upstream component, but it does not neutralize or incorrectly neutralizes internal special elements that could be interpreted in unexpected ways when they are sent to a downstream component."
  438. },
  439. "165": {
  440. "title": "Improper Neutralization of Multiple Internal Special Elements",
  441. "description":
  442. "The software receives input from an upstream component, but it does not neutralize or incorrectly neutralizes multiple internal special elements that could be interpreted in unexpected ways when they are sent to a downstream component."
  443. },
  444. "166": {
  445. "title": "Improper Handling of Missing Special Element",
  446. "description":
  447. "The software receives input from an upstream component, but it does not handle or incorrectly handles when an expected special element is missing."
  448. },
  449. "167": {
  450. "title": "Improper Handling of Additional Special Element",
  451. "description":
  452. "The software receives input from an upstream component, but it does not handle or incorrectly handles when an additional unexpected special element is missing."
  453. },
  454. "168": {
  455. "title": "Improper Handling of Inconsistent Special Elements",
  456. "description":
  457. "The software does not handle when an inconsistency exists between two or more special characters or reserved words."
  458. },
  459. "170": {
  460. "title": "Improper Null Termination",
  461. "description":
  462. "The software does not terminate or incorrectly terminates a string or array with a null character or equivalent terminator."
  463. },
  464. "172": {
  465. "title": "Encoding Error",
  466. "description":
  467. "The software does not properly encode or decode the data, resulting in unexpected values."
  468. },
  469. "173": {
  470. "title": "Improper Handling of Alternate Encoding",
  471. "description":
  472. "The software does not properly handle when an input uses an alternate encoding that is valid for the control sphere to which the input is being sent."
  473. },
  474. "174": {
  475. "title": "Double Decoding of the Same Data",
  476. "description":
  477. "The software decodes the same input twice, which can limit the effectiveness of any protection mechanism that occurs in between the decoding operations."
  478. },
  479. "175": {
  480. "title": "Improper Handling of Mixed Encoding",
  481. "description":
  482. "The software does not properly handle when the same input uses several different (mixed) encodings."
  483. },
  484. "176": {
  485. "title": "Improper Handling of Unicode Encoding",
  486. "description":
  487. "The software does not properly handle when an input contains Unicode encoding."
  488. },
  489. "177": {
  490. "title": "Improper Handling of URL Encoding (Hex Encoding)",
  491. "description":
  492. "The software does not properly handle when all or part of an input has been URL encoded."
  493. },
  494. "178": {
  495. "title": "Improper Handling of Case Sensitivity",
  496. "description":
  497. "The software does not properly account for differences in case sensitivity when accessing or determining the properties of a resource, leading to inconsistent results."
  498. },
  499. "179": {
  500. "title": "Incorrect Behavior Order: Early Validation",
  501. "description":
  502. "The software validates input before applying protection mechanisms that modify the input, which could allow an attacker to bypass the validation via dangerous inputs that only arise after the modification."
  503. },
  504. "180": {
  505. "title": "Incorrect Behavior Order: Validate Before Canonicalize",
  506. "description":
  507. "The software validates input before it is canonicalized, which prevents the software from detecting data that becomes invalid after the canonicalization step."
  508. },
  509. "181": {
  510. "title": "Incorrect Behavior Order: Validate Before Filter",
  511. "description":
  512. "The software validates data before it has been filtered, which prevents the software from detecting data that becomes invalid after the filtering step."
  513. },
  514. "182": {
  515. "title": "Collapse of Data into Unsafe Value",
  516. "description":
  517. "The software filters data in a way that causes it to be reduced or collapsed into an unsafe value that violates an expected security property."
  518. },
  519. "183": {
  520. "title": "Permissive Whitelist",
  521. "description":
  522. "An application uses a whitelist of acceptable values, but the whitelist includes at least one unsafe value, leading to resultant weaknesses."
  523. },
  524. "184": {
  525. "title": "Incomplete Blacklist",
  526. "description":
  527. "An application uses a blacklist of prohibited values, but the blacklist is incomplete."
  528. },
  529. "185": {
  530. "title": "Incorrect Regular Expression",
  531. "description":
  532. "The software specifies a regular expression in a way that causes data to be improperly matched or compared."
  533. },
  534. "186": {
  535. "title": "Overly Restrictive Regular Expression",
  536. "description":
  537. "A regular expression is overly restrictive, which prevents dangerous values from being detected."
  538. },
  539. "187": {
  540. "title": "Partial String Comparison",
  541. "description":
  542. "The software performs a comparison that only examines a portion of a factor before determining whether there is a match, such as a substring, leading to resultant weaknesses."
  543. },
  544. "188": {
  545. "title": "Reliance on Data/Memory Layout",
  546. "description":
  547. "The software makes invalid assumptions about how protocol data or memory is organized at a lower level, resulting in unintended program behavior."
  548. },
  549. "190": {
  550. "title": "Integer Overflow or Wraparound",
  551. "description":
  552. "The software performs a calculation that can produce an integer overflow or wraparound, when the logic assumes that the resulting value will always be larger than the original value. This can introduce other weaknesses when the calculation is used for resource management or execution control."
  553. },
  554. "191": {
  555. "title": "Integer Underflow (Wrap or Wraparound)",
  556. "description":
  557. "The product subtracts one value from another, such that the result is less than the minimum allowable integer value, which produces a value that is not equal to the correct result."
  558. },
  559. "192": {
  560. "title": "Integer Coercion Error",
  561. "description":
  562. "Integer coercion refers to a set of flaws pertaining to the type casting, extension, or truncation of primitive data types."
  563. },
  564. "193": {
  565. "title": "Off-by-one Error",
  566. "description":
  567. "A product calculates or uses an incorrect maximum or minimum value that is 1 more, or 1 less, than the correct value."
  568. },
  569. "194": {
  570. "title": "Unexpected Sign Extension",
  571. "description":
  572. "The software performs an operation on a number that causes it to be sign extended when it is transformed into a larger data type. When the original number is negative, this can produce unexpected values that lead to resultant weaknesses."
  573. },
  574. "195": {
  575. "title": "Signed to Unsigned Conversion Error",
  576. "description":
  577. "The software uses a signed primitive and performs a cast to an unsigned primitive, which can produce an unexpected value if the value of the signed primitive can not be represented using an unsigned primitive."
  578. },
  579. "196": {
  580. "title": "Unsigned to Signed Conversion Error",
  581. "description":
  582. "The software uses an unsigned primitive and performs a cast to a signed primitive, which can produce an unexpected value if the value of the unsigned primitive can not be represented using a signed primitive."
  583. },
  584. "197": {
  585. "title": "Numeric Truncation Error",
  586. "description":
  587. "Truncation errors occur when a primitive is cast to a primitive of a smaller size and data is lost in the conversion."
  588. },
  589. "198": {
  590. "title": "Use of Incorrect Byte Ordering",
  591. "description":
  592. "The software receives input from an upstream component, but it does not account for byte ordering (e.g. big-endian and little-endian) when processing the input, causing an incorrect number or value to be used."
  593. },
  594. "20": {
  595. "title": "Improper Input Validation",
  596. "description":
  597. "The product does not validate or incorrectly validates input that can affect the control flow or data flow of a program."
  598. },
  599. "200": {
  600. "title": "Information Exposure",
  601. "description":
  602. "An information exposure is the intentional or unintentional disclosure of information to an actor that is not explicitly authorized to have access to that information."
  603. },
  604. "201": {
  605. "title": "Information Exposure Through Sent Data",
  606. "description":
  607. "The accidental exposure of sensitive information through sent data refers to the transmission of data which are either sensitive in and of itself or useful in the further exploitation of the system through standard data channels."
  608. },
  609. "202": {
  610. "title": "Exposure of Sensitive Data Through Data Queries",
  611. "description":
  612. "When trying to keep information confidential, an attacker can often infer some of the information by using statistics."
  613. },
  614. "203": {
  615. "title": "Information Exposure Through Discrepancy",
  616. "description":
  617. "The product behaves differently or sends different responses in a way that exposes security-relevant information about the state of the product, such as whether a particular operation was successful or not."
  618. },
  619. "204": {
  620. "title": "Response Discrepancy Information Exposure",
  621. "description":
  622. "The software provides different responses to incoming requests in a way that allows an actor to determine system state information that is outside of that actor's control sphere."
  623. },
  624. "205": {
  625. "title": "Information Exposure Through Behavioral Discrepancy",
  626. "description":
  627. "The product's actions indicate important differences based on (1) the internal state of the product or (2) differences from other products in the same class."
  628. },
  629. "206": {
  630. "title": "Information Exposure of Internal State Through Behavioral Inconsistency",
  631. "description":
  632. "Two separate operations in a product cause the product to behave differently in a way that is observable to an attacker and reveals security-relevant information about the internal state of the product, such as whether a particular operation was successful or not."
  633. },
  634. "207": {
  635. "title": "Information Exposure Through an External Behavioral Inconsistency",
  636. "description":
  637. "The product behaves differently than other products like it, in a way that is observable to an attacker and exposes security-relevant information about which product is being used."
  638. },
  639. "208": {
  640. "title": "Information Exposure Through Timing Discrepancy",
  641. "description":
  642. "Two separate operations in a product require different amounts of time to complete, in a way that is observable to an actor and reveals security-relevant information about the state of the product, such as whether a particular operation was successful or not."
  643. },
  644. "209": {
  645. "title": "Information Exposure Through an Error Message",
  646. "description":
  647. "The software generates an error message that includes sensitive information about its environment, users, or associated data."
  648. },
  649. "210": {
  650. "title": "Information Exposure Through Self-generated Error Message",
  651. "description":
  652. "The software identifies an error condition and creates its own diagnostic or error messages that contain sensitive information."
  653. },
  654. "211": {
  655. "title": "Information Exposure Through Externally-Generated Error Message",
  656. "description":
  657. "The software performs an operation that triggers an external diagnostic or error message that is not directly generated by the software, such as an error generated by the programming language interpreter that the software uses. The error can contain sensitive system information."
  658. },
  659. "212": {
  660. "title": "Improper Cross-boundary Removal of Sensitive Data",
  661. "description":
  662. "The software uses a resource that contains sensitive data, but it does not properly remove that data before it stores, transfers, or shares the resource with actors in another control sphere."
  663. },
  664. "213": {
  665. "title": "Intentional Information Exposure",
  666. "description":
  667. "A product's design or configuration explicitly requires the publication of information that could be regarded as sensitive by an administrator."
  668. },
  669. "214": {
  670. "title": "Information Exposure Through Process Environment",
  671. "description":
  672. "A process is invoked with sensitive arguments, environment variables, or other elements that can be seen by other processes on the operating system."
  673. },
  674. "215": {
  675. "title": "Information Exposure Through Debug Information",
  676. "description":
  677. "The application contains debugging code that can expose sensitive information to untrusted parties."
  678. },
  679. "216": {
  680. "title": "Containment Errors (Container Errors)",
  681. "description":
  682. "This tries to cover various problems in which improper data are included within a container."
  683. },
  684. "219": {
  685. "title": "Sensitive Data Under Web Root",
  686. "description":
  687. "The application stores sensitive data under the web document root with insufficient access control, which might make it accessible to untrusted parties."
  688. },
  689. "22": {
  690. "title": "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')",
  691. "description":
  692. "The software uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the software does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory."
  693. },
  694. "220": {
  695. "title": "Sensitive Data Under FTP Root",
  696. "description":
  697. "The application stores sensitive data under the FTP document root with insufficient access control, which might make it accessible to untrusted parties."
  698. },
  699. "221": {
  700. "title": "Information Loss or Omission",
  701. "description":
  702. "The software does not record, or improperly records, security-relevant information that leads to an incorrect decision or hampers later analysis."
  703. },
  704. "222": {
  705. "title": "Truncation of Security-relevant Information",
  706. "description":
  707. "The application truncates the display, recording, or processing of security-relevant information in a way that can obscure the source or nature of an attack."
  708. },
  709. "223": {
  710. "title": "Omission of Security-relevant Information",
  711. "description":
  712. "The application does not record or display information that would be important for identifying the source or nature of an attack, or determining if an action is safe."
  713. },
  714. "224": {
  715. "title": "Obscured Security-relevant Information by Alternate Name",
  716. "description":
  717. "The software records security-relevant information according to an alternate name of the affected entity, instead of the canonical name."
  718. },
  719. "226": {
  720. "title": "Sensitive Information Uncleared Before Release",
  721. "description":
  722. "The software does not fully clear previously used information in a data structure, file, or other resource, before making that resource available to a party in another control sphere."
  723. },
  724. "228": {
  725. "title": "Improper Handling of Syntactically Invalid Structure",
  726. "description":
  727. "The product does not handle or incorrectly handles input that is not syntactically well-formed with respect to the associated specification."
  728. },
  729. "229": {
  730. "title": "Improper Handling of Values",
  731. "description":
  732. "The software does not properly handle when the expected number of values for parameters, fields, or arguments is not provided in input, or if those values are undefined."
  733. },
  734. "23": {
  735. "title": "Relative Path Traversal",
  736. "description":
  737. "The software uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize sequences such as .. that can resolve to a location that is outside of that directory."
  738. },
  739. "230": {
  740. "title": "Improper Handling of Missing Values",
  741. "description":
  742. "The software does not handle or incorrectly handles when a parameter, field, or argument name is specified, but the associated value is missing, i.e. it is empty, blank, or null."
  743. },
  744. "231": {
  745. "title": "Improper Handling of Extra Values",
  746. "description":
  747. "The software does not handle or incorrectly handles when more values are provided than expected."
  748. },
  749. "232": {
  750. "title": "Improper Handling of Undefined Values",
  751. "description":
  752. "The software does not handle or incorrectly handles when a value is not defined or supported for the associated parameter, field, or argument name."
  753. },
  754. "233": {
  755. "title": "Improper Handling of Parameters",
  756. "description":
  757. "The software does not properly handle when the expected number of parameters, fields, or arguments is not provided in input, or if those parameters are undefined."
  758. },
  759. "234": {
  760. "title": "Failure to Handle Missing Parameter",
  761. "description":
  762. "If too few arguments are sent to a function, the function will still pop the expected number of arguments from the stack. Potentially, a variable number of arguments could be exhausted in a function as well."
  763. },
  764. "235": {
  765. "title": "Improper Handling of Extra Parameters",
  766. "description":
  767. "The software does not handle or incorrectly handles when the number of parameters, fields, or arguments with the same name exceeds the expected amount."
  768. },
  769. "236": {
  770. "title": "Improper Handling of Undefined Parameters",
  771. "description":
  772. "The software does not handle or incorrectly handles when a particular parameter, field, or argument name is not defined or supported by the product."
  773. },
  774. "237": {
  775. "title": "Improper Handling of Structural Elements",
  776. "description":
  777. "The software does not handle or incorrectly handles inputs that are related to complex structures."
  778. },
  779. "238": {
  780. "title": "Improper Handling of Incomplete Structural Elements",
  781. "description":
  782. "The software does not handle or incorrectly handles when a particular structural element is not completely specified."
  783. },
  784. "239": {
  785. "title": "Failure to Handle Incomplete Element",
  786. "description":
  787. "The software does not properly handle when a particular element is not completely specified."
  788. },
  789. "24": {
  790. "title": "Path Traversal: '../filedir'",
  791. "description":
  792. "The software uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize ../ sequences that can resolve to a location that is outside of that directory."
  793. },
  794. "240": {
  795. "title": "Improper Handling of Inconsistent Structural Elements",
  796. "description":
  797. "The software does not handle or incorrectly handles when two or more structural elements should be consistent, but are not."
  798. },
  799. "241": {
  800. "title": "Improper Handling of Unexpected Data Type",
  801. "description":
  802. "The software does not handle or incorrectly handles when a particular element is not the expected type, e.g. it expects a digit (0-9) but is provided with a letter (A-Z)."
  803. },
  804. "242": {
  805. "title": "Use of Inherently Dangerous Function",
  806. "description": "The program calls a function that can never be guaranteed to work safely."
  807. },
  808. "243": {
  809. "title": "Creation of chroot Jail Without Changing Working Directory",
  810. "description":
  811. "The program uses the chroot() system call to create a jail, but does not change the working directory afterward. This does not prevent access to files outside of the jail."
  812. },
  813. "244": {
  814. "title": "Improper Clearing of Heap Memory Before Release ('Heap Inspection')",
  815. "description":
  816. "Using realloc() to resize buffers that store sensitive information can leave the sensitive information exposed to attack, because it is not removed from memory."
  817. },
  818. "245": {
  819. "title": "J2EE Bad Practices: Direct Management of Connections",
  820. "description":
  821. "The J2EE application directly manages connections, instead of using the container's connection management facilities."
  822. },
  823. "246": {
  824. "title": "J2EE Bad Practices: Direct Use of Sockets",
  825. "description":
  826. "The J2EE application directly uses sockets instead of using framework method calls."
  827. },
  828. "248": {
  829. "title": "Uncaught Exception",
  830. "description": "An exception is thrown from a function, but it is not caught."
  831. },
  832. "25": {
  833. "title": "Path Traversal: '/../filedir'",
  834. "description":
  835. "The software uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize /../ sequences that can resolve to a location that is outside of that directory."
  836. },
  837. "250": {
  838. "title": "Execution with Unnecessary Privileges",
  839. "description":
  840. "The software performs an operation at a privilege level that is higher than the minimum level required, which creates new weaknesses or amplifies the consequences of other weaknesses."
  841. },
  842. "252": {
  843. "title": "Unchecked Return Value",
  844. "description":
  845. "The software does not check the return value from a method or function, which can prevent it from detecting unexpected states and conditions."
  846. },
  847. "253": {
  848. "title": "Incorrect Check of Function Return Value",
  849. "description":
  850. "The software incorrectly checks a return value from a function, which prevents the software from detecting errors or exceptional conditions."
  851. },
  852. "256": {
  853. "title": "Unprotected Storage of Credentials",
  854. "description": "Storing a password in plaintext may result in a system compromise."
  855. },
  856. "257": {
  857. "title": "Storing Passwords in a Recoverable Format",
  858. "description":
  859. "The storage of passwords in a recoverable format makes them subject to password reuse attacks by malicious users. In fact, it should be noted that recoverable encrypted passwords provide no significant benefit over plaintext passwords since they are subject not only to reuse by malicious attackers but also by malicious insiders. If a system administrator can recover a password directly, or use a brute force search on the available information, the administrator can use the password on other accounts."
  860. },
  861. "258": {
  862. "title": "Empty Password in Configuration File",
  863. "description": "Using an empty string as a password is insecure."
  864. },
  865. "259": {
  866. "title": "Use of Hard-coded Password",
  867. "description":
  868. "The software contains a hard-coded password, which it uses for its own inbound authentication or for outbound communication to external components."
  869. },
  870. "26": {
  871. "title": "Path Traversal: '/dir/../filename'",
  872. "description":
  873. "The software uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize /dir/../filename sequences that can resolve to a location that is outside of that directory."
  874. },
  875. "260": {
  876. "title": "Password in Configuration File",
  877. "description":
  878. "The software stores a password in a configuration file that might be accessible to actors who do not know the password."
  879. },
  880. "261": {
  881. "title": "Weak Cryptography for Passwords",
  882. "description": "Obscuring a password with a trivial encoding does not protect the password."
  883. },
  884. "262": {
  885. "title": "Not Using Password Aging",
  886. "description":
  887. "If no mechanism is in place for managing password aging, users will have no incentive to update passwords in a timely manner."
  888. },
  889. "263": {
  890. "title": "Password Aging with Long Expiration",
  891. "description":
  892. "Allowing password aging to occur unchecked can result in the possibility of diminished password integrity."
  893. },
  894. "266": {
  895. "title": "Incorrect Privilege Assignment",
  896. "description":
  897. "A product incorrectly assigns a privilege to a particular actor, creating an unintended sphere of control for that actor."
  898. },
  899. "267": {
  900. "title": "Privilege Defined With Unsafe Actions",
  901. "description":
  902. "A particular privilege, role, capability, or right can be used to perform unsafe actions that were not intended, even when it is assigned to the correct entity."
  903. },
  904. "268": {
  905. "title": "Privilege Chaining",
  906. "description":
  907. "Two distinct privileges, roles, capabilities, or rights can be combined in a way that allows an entity to perform unsafe actions that would not be allowed without that combination."
  908. },
  909. "269": {
  910. "title": "Improper Privilege Management",
  911. "description":
  912. "The software does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor."
  913. },
  914. "27": {
  915. "title": "Path Traversal: 'dir/../../filename'",
  916. "description":
  917. "The software uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize multiple internal ../ sequences that can resolve to a location that is outside of that directory."
  918. },
  919. "270": {
  920. "title": "Privilege Context Switching Error",
  921. "description":
  922. "The software does not properly manage privileges while it is switching between different contexts that have different privileges or spheres of control."
  923. },
  924. "271": {
  925. "title": "Privilege Dropping / Lowering Errors",
  926. "description":
  927. "The software does not drop privileges before passing control of a resource to an actor that does not have those privileges."
  928. },
  929. "272": {
  930. "title": "Least Privilege Violation",
  931. "description":
  932. "The elevated privilege level required to perform operations such as chroot() should be dropped immediately after the operation is performed."
  933. },
  934. "273": {
  935. "title": "Improper Check for Dropped Privileges",
  936. "description":
  937. "The software attempts to drop privileges but does not check or incorrectly checks to see if the drop succeeded."
  938. },
  939. "274": {
  940. "title": "Improper Handling of Insufficient Privileges",
  941. "description":
  942. "The software does not handle or incorrectly handles when it has insufficient privileges to perform an operation, leading to resultant weaknesses."
  943. },
  944. "276": {
  945. "title": "Incorrect Default Permissions",
  946. "description":
  947. "The software, upon installation, sets incorrect permissions for an object that exposes it to an unintended actor."
  948. },
  949. "277": {
  950. "title": "Insecure Inherited Permissions",
  951. "description":
  952. "A product defines a set of insecure permissions that are inherited by objects that are created by the program."
  953. },
  954. "278": {
  955. "title": "Insecure Preserved Inherited Permissions",
  956. "description":
  957. "A product inherits a set of insecure permissions for an object, e.g. when copying from an archive file, without user awareness or involvement."
  958. },
  959. "279": {
  960. "title": "Incorrect Execution-Assigned Permissions",
  961. "description":
  962. "While it is executing, the software sets the permissions of an object in a way that violates the intended permissions that have been specified by the user."
  963. },
  964. "28": {
  965. "title": "Path Traversal: '..filedir'",
  966. "description":
  967. "The software uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize .. sequences that can resolve to a location that is outside of that directory."
  968. },
  969. "280": {
  970. "title": "Improper Handling of Insufficient Permissions or Privileges ",
  971. "description":
  972. "The application does not handle or incorrectly handles when it has insufficient privileges to access resources or functionality as specified by their permissions. This may cause it to follow unexpected code paths that may leave the application in an invalid state."
  973. },
  974. "281": {
  975. "title": "Improper Preservation of Permissions",
  976. "description":
  977. "The software does not preserve permissions or incorrectly preserves permissions when copying, restoring, or sharing objects, which can cause them to have less restrictive permissions than intended."
  978. },
  979. "282": {
  980. "title": "Improper Ownership Management",
  981. "description":
  982. "The software assigns the wrong ownership, or does not properly verify the ownership, of an object or resource."
  983. },
  984. "283": {
  985. "title": "Unverified Ownership",
  986. "description":
  987. "The software does not properly verify that a critical resource is owned by the proper entity."
  988. },
  989. "284": {
  990. "title": "Improper Access Control",
  991. "description":
  992. "The software does not restrict or incorrectly restricts access to a resource from an unauthorized actor."
  993. },
  994. "285": {
  995. "title": "Improper Authorization",
  996. "description":
  997. "The software does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action."
  998. },
  999. "286": {
  1000. "title": "Incorrect User Management",
  1001. "description": "The software does not properly manage a user within its environment."
  1002. },
  1003. "287": {
  1004. "title": "Improper Authentication",
  1005. "description":
  1006. "When an actor claims to have a given identity, the software does not prove or insufficiently proves that the claim is correct."
  1007. },
  1008. "288": {
  1009. "title": "Authentication Bypass Using an Alternate Path or Channel",
  1010. "description":
  1011. "A product requires authentication, but the product has an alternate path or channel that does not require authentication."
  1012. },
  1013. "289": {
  1014. "title": "Authentication Bypass by Alternate Name",
  1015. "description":
  1016. "The software performs authentication based on the name of a resource being accessed, or the name of the actor performing the access, but it does not properly check all possible names for that resource or actor."
  1017. },
  1018. "29": {
  1019. "title": "Path Traversal: '..filename'",
  1020. "description":
  1021. "The software uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize '..filename' (leading backslash dot dot) sequences that can resolve to a location that is outside of that directory."
  1022. },
  1023. "290": {
  1024. "title": "Authentication Bypass by Spoofing",
  1025. "description":
  1026. "This attack-focused weakness is caused by improperly implemented authentication schemes that are subject to spoofing attacks."
  1027. },
  1028. "291": {
  1029. "title": "Reliance on IP Address for Authentication",
  1030. "description": "The software uses an IP address for authentication."
  1031. },
  1032. "293": {
  1033. "title": "Using Referer Field for Authentication",
  1034. "description":
  1035. "The referer field in HTTP requests can be easily modified and, as such, is not a valid means of message integrity checking."
  1036. },
  1037. "294": {
  1038. "title": "Authentication Bypass by Capture-replay",
  1039. "description":
  1040. "A capture-replay flaw exists when the design of the software makes it possible for a malicious user to sniff network traffic and bypass authentication by replaying it to the server in question to the same effect as the original message (or with minor changes)."
  1041. },
  1042. "295": {
  1043. "title": "Improper Certificate Validation",
  1044. "description": "The software does not validate, or incorrectly validates, a certificate."
  1045. },
  1046. "296": {
  1047. "title": "Improper Following of a Certificate's Chain of Trust",
  1048. "description":
  1049. "The software does not follow, or incorrectly follows, the chain of trust for a certificate back to a trusted root certificate, resulting in incorrect trust of any resource that is associated with that certificate."
  1050. },
  1051. "297": {
  1052. "title": "Improper Validation of Certificate with Host Mismatch",
  1053. "description":
  1054. "The software communicates with a host that provides a certificate, but the software does not properly ensure that the certificate is actually associated with that host."
  1055. },
  1056. "298": {
  1057. "title": "Improper Validation of Certificate Expiration",
  1058. "description":
  1059. "A certificate expiration is not validated or is incorrectly validated, so trust may be assigned to certificates that have been abandoned due to age."
  1060. },
  1061. "299": {
  1062. "title": "Improper Check for Certificate Revocation",
  1063. "description":
  1064. "The software does not check or incorrectly checks the revocation status of a certificate, which may cause it to use a certificate that has been compromised."
  1065. },
  1066. "30": {
  1067. "title": "Path Traversal: 'dir..filename'",
  1068. "description":
  1069. "The software uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize 'dir..filename' (leading backslash dot dot) sequences that can resolve to a location that is outside of that directory."
  1070. },
  1071. "300": {
  1072. "title": "Channel Accessible by Non-Endpoint ('Man-in-the-Middle')",
  1073. "description":
  1074. "The product does not adequately verify the identity of actors at both ends of a communication channel, or does not adequately ensure the integrity of the channel, in a way that allows the channel to be accessed or influenced by an actor that is not an endpoint."
  1075. },
  1076. "301": {
  1077. "title": "Reflection Attack in an Authentication Protocol",
  1078. "description":
  1079. "Simple authentication protocols are subject to reflection attacks if a malicious user can use the target machine to impersonate a trusted user."
  1080. },
  1081. "302": {
  1082. "title": "Authentication Bypass by Assumed-Immutable Data",
  1083. "description":
  1084. "The authentication scheme or implementation uses key data elements that are assumed to be immutable, but can be controlled or modified by the attacker."
  1085. },
  1086. "303": {
  1087. "title": "Incorrect Implementation of Authentication Algorithm",
  1088. "description":
  1089. "The requirements for the software dictate the use of an established authentication algorithm, but the implementation of the algorithm is incorrect."
  1090. },
  1091. "304": {
  1092. "title": "Missing Critical Step in Authentication",
  1093. "description":
  1094. "The software implements an authentication technique, but it skips a step that weakens the technique."
  1095. },
  1096. "305": {
  1097. "title": "Authentication Bypass by Primary Weakness",
  1098. "description":
  1099. "The authentication algorithm is sound, but the implemented mechanism can be bypassed as the result of a separate weakness that is primary to the authentication error."
  1100. },
  1101. "306": {
  1102. "title": "Missing Authentication for Critical Function",
  1103. "description":
  1104. "The software does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources."
  1105. },
  1106. "307": {
  1107. "title": "Improper Restriction of Excessive Authentication Attempts",
  1108. "description":
  1109. "The software does not implement sufficient measures to prevent multiple failed authentication attempts within in a short time frame, making it more susceptible to brute force attacks."
  1110. },
  1111. "308": {
  1112. "title": "Use of Single-factor Authentication",
  1113. "description":
  1114. "The use of single-factor authentication can lead to unnecessary risk of compromise when compared with the benefits of a dual-factor authentication scheme."
  1115. },
  1116. "309": {
  1117. "title": "Use of Password System for Primary Authentication",
  1118. "description":
  1119. "The use of password systems as the primary means of authentication may be subject to several flaws or shortcomings, each reducing the effectiveness of the mechanism."
  1120. },
  1121. "31": {
  1122. "title": "Path Traversal: 'dir....filename'",
  1123. "description":
  1124. "The software uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize 'dir....filename' (multiple internal backslash dot dot) sequences that can resolve to a location that is outside of that directory."
  1125. },
  1126. "311": {
  1127. "title": "Missing Encryption of Sensitive Data",
  1128. "description":
  1129. "The software does not encrypt sensitive or critical information before storage or transmission."
  1130. },
  1131. "312": {
  1132. "title": "Cleartext Storage of Sensitive Information",
  1133. "description":
  1134. "The application stores sensitive information in cleartext within a resource that might be accessible to another control sphere."
  1135. },
  1136. "313": {
  1137. "title": "Cleartext Storage in a File or on Disk",
  1138. "description":
  1139. "The application stores sensitive information in cleartext in a file, or on disk."
  1140. },
  1141. "314": {
  1142. "title": "Cleartext Storage in the Registry",
  1143. "description": "The application stores sensitive information in cleartext in the registry."
  1144. },
  1145. "315": {
  1146. "title": "Cleartext Storage of Sensitive Information in a Cookie",
  1147. "description": "The application stores sensitive information in cleartext in a cookie."
  1148. },
  1149. "316": {
  1150. "title": "Cleartext Storage of Sensitive Information in Memory",
  1151. "description": "The application stores sensitive information in cleartext in memory."
  1152. },
  1153. "317": {
  1154. "title": "Cleartext Storage of Sensitive Information in GUI",
  1155. "description": "The application stores sensitive information in cleartext within the GUI."
  1156. },
  1157. "318": {
  1158. "title": "Cleartext Storage of Sensitive Information in Executable",
  1159. "description": "The application stores sensitive information in cleartext in an executable."
  1160. },
  1161. "319": {
  1162. "title": "Cleartext Transmission of Sensitive Information",
  1163. "description":
  1164. "The software transmits sensitive or security-critical data in cleartext in a communication channel that can be sniffed by unauthorized actors."
  1165. },
  1166. "32": {
  1167. "title": "Path Traversal: '...' (Triple Dot)",
  1168. "description":
  1169. "The software uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize '...' (triple dot) sequences that can resolve to a location that is outside of that directory."
  1170. },
  1171. "321": {
  1172. "title": "Use of Hard-coded Cryptographic Key",
  1173. "description":
  1174. "The use of a hard-coded cryptographic key significantly increases the possibility that encrypted data may be recovered."
  1175. },
  1176. "322": {
  1177. "title": "Key Exchange without Entity Authentication",
  1178. "description":
  1179. "The software performs a key exchange with an actor without verifying the identity of that actor."
  1180. },
  1181. "323": {
  1182. "title": "Reusing a Nonce, Key Pair in Encryption",
  1183. "description": "Nonces should be used for the present occasion and only once."
  1184. },
  1185. "324": {
  1186. "title": "Use of a Key Past its Expiration Date",
  1187. "description":
  1188. "The product uses a cryptographic key or password past its expiration date, which diminishes its safety significantly by increasing the timing window for cracking attacks against that key."
  1189. },
  1190. "325": {
  1191. "title": "Missing Required Cryptographic Step",
  1192. "description":
  1193. "The software does not implement a required step in a cryptographic algorithm, resulting in weaker encryption than advertised by that algorithm."
  1194. },
  1195. "326": {
  1196. "title": "Inadequate Encryption Strength",
  1197. "description":
  1198. "The software stores or transmits sensitive data using an encryption scheme that is theoretically sound, but is not strong enough for the level of protection required."
  1199. },
  1200. "327": {
  1201. "title": "Use of a Broken or Risky Cryptographic Algorithm",
  1202. "description":
  1203. "The use of a broken or risky cryptographic algorithm is an unnecessary risk that may result in the exposure of sensitive information."
  1204. },
  1205. "328": {
  1206. "title": "Reversible One-Way Hash",
  1207. "description":
  1208. "The product uses a hashing algorithm that produces a hash value that can be used to determine the original input, or to find an input that can produce the same hash, more efficiently than brute force techniques."
  1209. },
  1210. "329": {
  1211. "title": "Not Using a Random IV with CBC Mode",
  1212. "description":
  1213. "Not using a random initialization Vector (IV) with Cipher Block Chaining (CBC) Mode causes algorithms to be susceptible to dictionary attacks."
  1214. },
  1215. "33": {
  1216. "title": "Path Traversal: '....' (Multiple Dot)",
  1217. "description":
  1218. "The software uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize '....' (multiple dot) sequences that can resolve to a location that is outside of that directory."
  1219. },
  1220. "330": {
  1221. "title": "Use of Insufficiently Random Values",
  1222. "description":
  1223. "The software may use insufficiently random numbers or values in a security context that depends on unpredictable numbers."
  1224. },
  1225. "331": {
  1226. "title": "Insufficient Entropy",
  1227. "description":
  1228. "The software uses an algorithm or scheme that produces insufficient entropy, leaving patterns or clusters of values that are more likely to occur than others."
  1229. },
  1230. "332": {
  1231. "title": "Insufficient Entropy in PRNG",
  1232. "description":
  1233. "The lack of entropy available for, or used by, a Pseudo-Random Number Generator (PRNG) can be a stability and security threat."
  1234. },
  1235. "333": {
  1236. "title": "Improper Handling of Insufficient Entropy in TRNG",
  1237. "description":
  1238. "True random number generators (TRNG) generally have a limited source of entropy and therefore can fail or block."
  1239. },
  1240. "334": {
  1241. "title": "Small Space of Random Values",
  1242. "description":
  1243. "The number of possible random values is smaller than needed by the product, making it more susceptible to brute force attacks."
  1244. },
  1245. "335": {
  1246. "title": "Incorrect Usage of Seeds in Pseudo-Random Number Generator (PRNG)",
  1247. "description":
  1248. "The software uses a Pseudo-Random Number Generator (PRNG) that does not correctly manage seeds."
  1249. },
  1250. "336": {
  1251. "title": "Same Seed in Pseudo-Random Number Generator (PRNG)",
  1252. "description":
  1253. "A Pseudo-Random Number Generator (PRNG) uses the same seed each time the product is initialized."
  1254. },
  1255. "337": {
  1256. "title": "Predictable Seed in Pseudo-Random Number Generator (PRNG)",
  1257. "description":
  1258. "A Pseudo-Random Number Generator (PRNG) is initialized from a predictable seed, such as the process ID or system time."
  1259. },
  1260. "338": {
  1261. "title": "Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)",
  1262. "description":
  1263. "The product uses a Pseudo-Random Number Generator (PRNG) in a security context, but the PRNG's algorithm is not cryptographically strong."
  1264. },
  1265. "339": {
  1266. "title": "Small Seed Space in PRNG",
  1267. "description": "A PRNG uses a relatively small space of seeds."
  1268. },
  1269. "34": {
  1270. "title": "Path Traversal: '....//'",
  1271. "description":
  1272. "The software uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize '....//' (doubled dot dot slash) sequences that can resolve to a location that is outside of that directory."
  1273. },
  1274. "340": {
  1275. "title": "Predictability Problems",
  1276. "description":
  1277. "Weaknesses in this category are related to schemes that generate numbers or identifiers that are more predictable than required by the application."
  1278. },
  1279. "341": {
  1280. "title": "Predictable from Observable State",
  1281. "description":
  1282. "A number or object is predictable based on observations that the attacker can make about the state of the system or network, such as time, process ID, etc."
  1283. },
  1284. "342": {
  1285. "title": "Predictable Exact Value from Previous Values",
  1286. "description":
  1287. "An exact value or random number can be precisely predicted by observing previous values."
  1288. },
  1289. "343": {
  1290. "title": "Predictable Value Range from Previous Values",
  1291. "description":
  1292. "The software's random number generator produces a series of values which, when observed, can be used to infer a relatively small range of possibilities for the next value that could be generated."
  1293. },
  1294. "344": {
  1295. "title": "Use of Invariant Value in Dynamically Changing Context",
  1296. "description":
  1297. "The product uses a constant value, name, or reference, but this value can (or should) vary across different environments."
  1298. },
  1299. "345": {
  1300. "title": "Insufficient Verification of Data Authenticity",
  1301. "description":
  1302. "The software does not sufficiently verify the origin or authenticity of data, in a way that causes it to accept invalid data."
  1303. },
  1304. "346": {
  1305. "title": "Origin Validation Error",
  1306. "description":
  1307. "The software does not properly verify that the source of data or communication is valid."
  1308. },
  1309. "347": {
  1310. "title": "Improper Verification of Cryptographic Signature",
  1311. "description":
  1312. "The software does not verify, or incorrectly verifies, the cryptographic signature for data."
  1313. },
  1314. "348": {
  1315. "title": "Use of Less Trusted Source",
  1316. "description":
  1317. "The software has two different sources of the same data or information, but it uses the source that has less support for verification, is less trusted, or is less resistant to attack."
  1318. },
  1319. "349": {
  1320. "title": "Acceptance of Extraneous Untrusted Data With Trusted Data",
  1321. "description":
  1322. "The software, when processing trusted data, accepts any untrusted data that is also included with the trusted data, treating the untrusted data as if it were trusted."
  1323. },
  1324. "35": {
  1325. "title": "Path Traversal: '.../...//'",
  1326. "description":
  1327. "The software uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize '.../...//' (doubled triple dot slash) sequences that can resolve to a location that is outside of that directory."
  1328. },
  1329. "350": {
  1330. "title": "Reliance on Reverse DNS Resolution for a Security-Critical Action",
  1331. "description":
  1332. "The software performs reverse DNS resolution on an IP address to obtain the hostname and make a security decision, but it does not properly ensure that the IP address is truly associated with the hostname."
  1333. },
  1334. "351": {
  1335. "title": "Insufficient Type Distinction",
  1336. "description":
  1337. "The software does not properly distinguish between different types of elements in a way that leads to insecure behavior."
  1338. },
  1339. "352": {
  1340. "title": "Cross-Site Request Forgery (CSRF)",
  1341. "description":
  1342. "The web application does not, or can not, sufficiently verify whether a well-formed, valid, consistent request was intentionally provided by the user who submitted the request."
  1343. },
  1344. "353": {
  1345. "title": "Missing Support for Integrity Check",
  1346. "description":
  1347. "The software uses a transmission protocol that does not include a mechanism for verifying the integrity of the data during transmission, such as a checksum."
  1348. },
  1349. "354": {
  1350. "title": "Improper Validation of Integrity Check Value",
  1351. "description":
  1352. "The software does not validate or incorrectly validates the integrity check values or checksums of a message. This may prevent it from detecting if the data has been modified or corrupted in transmission."
  1353. },
  1354. "356": {
  1355. "title": "Product UI does not Warn User of Unsafe Actions",
  1356. "description":
  1357. "The software's user interface does not warn the user before undertaking an unsafe action on behalf of that user. This makes it easier for attackers to trick users into inflicting damage to their system."
  1358. },
  1359. "357": {
  1360. "title": "Insufficient UI Warning of Dangerous Operations",
  1361. "description":
  1362. "The user interface provides a warning to a user regarding dangerous or sensitive operations, but the warning is not noticeable enough to warrant attention."
  1363. },
  1364. "358": {
  1365. "title": "Improperly Implemented Security Check for Standard",
  1366. "description":
  1367. "The software does not implement or incorrectly implements one or more security-relevant checks as specified by the design of a standardized algorithm, protocol, or technique."
  1368. },
  1369. "359": {
  1370. "title": "Exposure of Private Information ('Privacy Violation')",
  1371. "description":
  1372. "The software does not properly prevent private data (such as credit card numbers) from being accessed by actors who either (1) are not explicitly authorized to access the data or (2) do not have the implicit consent of the people to which the data is related."
  1373. },
  1374. "36": {
  1375. "title": "Absolute Path Traversal",
  1376. "description":
  1377. "The software uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize absolute path sequences such as /abs/path that can resolve to a location that is outside of that directory."
  1378. },
  1379. "360": {
  1380. "title": "Trust of System Event Data",
  1381. "description": "Security based on event locations are insecure and can be spoofed."
  1382. },
  1383. "362": {
  1384. "title":
  1385. "Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')",
  1386. "description":
  1387. "The program contains a code sequence that can run concurrently with other code, and the code sequence requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence that is operating concurrently."
  1388. },
  1389. "363": {
  1390. "title": "Race Condition Enabling Link Following",
  1391. "description":
  1392. "The software checks the status of a file or directory before accessing it, which produces a race condition in which the file can be replaced with a link before the access is performed, causing the software to access the wrong file."
  1393. },
  1394. "364": {
  1395. "title": "Signal Handler Race Condition",
  1396. "description": "The software uses a signal handler that introduces a race condition."
  1397. },
  1398. "365": {
  1399. "title": "Race Condition in Switch",
  1400. "description":
  1401. "The code contains a switch statement in which the switched variable can be modified while the switch is still executing, resulting in unexpected behavior."
  1402. },
  1403. "366": {
  1404. "title": "Race Condition within a Thread",
  1405. "description":
  1406. "If two threads of execution use a resource simultaneously, there exists the possibility that resources may be used while invalid, in turn making the state of execution undefined."
  1407. },
  1408. "367": {
  1409. "title": "Time-of-check Time-of-use (TOCTOU) Race Condition",
  1410. "description":
  1411. "The software checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check. This can cause the software to perform invalid actions when the resource is in an unexpected state."
  1412. },
  1413. "368": {
  1414. "title": "Context Switching Race Condition",
  1415. "description":
  1416. "A product performs a series of non-atomic actions to switch between contexts that cross privilege or other security boundaries, but a race condition allows an attacker to modify or misrepresent the product's behavior during the switch."
  1417. },
  1418. "369": { "title": "Divide By Zero", "description": "The product divides a value by zero." },
  1419. "37": {
  1420. "title": "Path Traversal: '/absolute/pathname/here'",
  1421. "description":
  1422. "A software system that accepts input in the form of a slash absolute path ('/absolute/pathname/here') without appropriate validation can allow an attacker to traverse the file system to unintended locations or access arbitrary files."
  1423. },
  1424. "370": {
  1425. "title": "Missing Check for Certificate Revocation after Initial Check",
  1426. "description":
  1427. "The software does not check the revocation status of a certificate after its initial revocation check, which can cause the software to perform privileged actions even after the certificate is revoked at a later time."
  1428. },
  1429. "372": {
  1430. "title": "Incomplete Internal State Distinction",
  1431. "description":
  1432. "The software does not properly determine which state it is in, causing it to assume it is in state X when in fact it is in state Y, causing it to perform incorrect operations in a security-relevant manner."
  1433. },
  1434. "374": {
  1435. "title": "Passing Mutable Objects to an Untrusted Method",
  1436. "description":
  1437. "The program sends non-cloned mutable data as an argument to a method or function."
  1438. },
  1439. "375": {
  1440. "title": "Returning a Mutable Object to an Untrusted Caller",
  1441. "description":
  1442. "Sending non-cloned mutable data as a return value may result in that data being altered or deleted by the calling function."
  1443. },
  1444. "377": {
  1445. "title": "Insecure Temporary File",
  1446. "description":
  1447. "Creating and using insecure temporary files can leave application and system data vulnerable to attack."
  1448. },
  1449. "378": {
  1450. "title": "Creation of Temporary File With Insecure Permissions",
  1451. "description":
  1452. "Opening temporary files without appropriate measures or controls can leave the file, its contents and any function that it impacts vulnerable to attack."
  1453. },
  1454. "379": {
  1455. "title": "Creation of Temporary File in Directory with Incorrect Permissions",
  1456. "description":
  1457. "The software creates a temporary file in a directory whose permissions allow unintended actors to determine the file's existence or otherwise access that file."
  1458. },
  1459. "38": {
  1460. "title": "Path Traversal: 'absolutepathnamehere'",
  1461. "description":
  1462. "A software system that accepts input in the form of a backslash absolute path ('absolutepathnamehere') without appropriate validation can allow an attacker to traverse the file system to unintended locations or access arbitrary files."
  1463. },
  1464. "382": {
  1465. "title": "J2EE Bad Practices: Use of System.exit()",
  1466. "description": "A J2EE application uses System.exit(), which also shuts down its container."
  1467. },
  1468. "383": {
  1469. "title": "J2EE Bad Practices: Direct Use of Threads",
  1470. "description":
  1471. "Thread management in a Web application is forbidden in some circumstances and is always highly error prone."
  1472. },
  1473. "384": {
  1474. "title": "Session Fixation",
  1475. "description":
  1476. "Authenticating a user, or otherwise establishing a new user session, without invalidating any existing session identifier gives an attacker the opportunity to steal authenticated sessions."
  1477. },
  1478. "385": {
  1479. "title": "Covert Timing Channel",
  1480. "description":
  1481. "Covert timing channels convey information by modulating some aspect of system behavior over time, so that the program receiving the information can observe system behavior and infer protected information."
  1482. },
  1483. "386": {
  1484. "title": "Symbolic Name not Mapping to Correct Object",
  1485. "description":
  1486. "A constant symbolic reference to an object is used, even though the reference can resolve to a different object over time."
  1487. },
  1488. "39": {
  1489. "title": "Path Traversal: 'C:dirname'",
  1490. "description":
  1491. "An attacker can inject a drive letter or Windows volume letter ('C:dirname') into a software system to potentially redirect access to an unintended location or arbitrary file."
  1492. },
  1493. "390": {
  1494. "title": "Detection of Error Condition Without Action",
  1495. "description":
  1496. "The software detects a specific error, but takes no actions to handle the error."
  1497. },
  1498. "391": {
  1499. "title": "Unchecked Error Condition",
  1500. "description":
  1501. "Ignoring exceptions and other error conditions may allow an attacker to induce unexpected behavior unnoticed."
  1502. },
  1503. "392": {
  1504. "title": "Missing Report of Error Condition",
  1505. "description":
  1506. "The software encounters an error but does not provide a status code or return value to indicate that an error has occurred."
  1507. },
  1508. "393": {
  1509. "title": "Return of Wrong Status Code",
  1510. "description":
  1511. "A function or operation returns an incorrect return value or status code that does not indicate an error, but causes the product to modify its behavior based on the incorrect result."
  1512. },
  1513. "394": {
  1514. "title": "Unexpected Status Code or Return Value",
  1515. "description":
  1516. "The software does not properly check when a function or operation returns a value that is legitimate for the function, but is not expected by the software."
  1517. },
  1518. "395": {
  1519. "title": "Use of NullPointerException Catch to Detect NULL Pointer Dereference",
  1520. "description":
  1521. "Catching NullPointerException should not be used as an alternative to programmatic checks to prevent dereferencing a null pointer."
  1522. },
  1523. "396": {
  1524. "title": "Declaration of Catch for Generic Exception",
  1525. "description":
  1526. "Catching overly broad exceptions promotes complex error handling code that is more likely to contain security vulnerabilities."
  1527. },
  1528. "397": {
  1529. "title": "Declaration of Throws for Generic Exception",
  1530. "description":
  1531. "Throwing overly broad exceptions promotes complex error handling code that is more likely to contain security vulnerabilities."
  1532. },
  1533. "40": {
  1534. "title": "Path Traversal: 'UNCsharename' (Windows UNC Share)",
  1535. "description":
  1536. "An attacker can inject a Windows UNC share ('UNCsharename') into a software system to potentially redirect access to an unintended location or arbitrary file."
  1537. },
  1538. "400": {
  1539. "title": "Uncontrolled Resource Consumption ('Resource Exhaustion')",
  1540. "description":
  1541. "The software does not properly restrict the size or amount of resources that are requested or influenced by an actor, which can be used to consume more resources than intended."
  1542. },
  1543. "401": {
  1544. "title": "Improper Release of Memory Before Removing Last Reference ('Memory Leak')",
  1545. "description":
  1546. "The software does not sufficiently track and release allocated memory after it has been used, which slowly consumes remaining memory."
  1547. },
  1548. "402": {
  1549. "title": "Transmission of Private Resources into a New Sphere ('Resource Leak')",
  1550. "description":
  1551. "The software makes resources available to untrusted parties when those resources are only intended to be accessed by the software."
  1552. },
  1553. "403": {
  1554. "title": "Exposure of File Descriptor to Unintended Control Sphere ('File Descriptor Leak')",
  1555. "description":
  1556. "A process does not close sensitive file descriptors before invoking a child process, which allows the child to perform unauthorized I/O operations using those descriptors."
  1557. },
  1558. "404": {
  1559. "title": "Improper Resource Shutdown or Release",
  1560. "description":
  1561. "The program does not release or incorrectly releases a resource before it is made available for re-use."
  1562. },
  1563. "405": {
  1564. "title": "Asymmetric Resource Consumption (Amplification)",
  1565. "description":
  1566. "Software that does not appropriately monitor or control resource consumption can lead to adverse system performance."
  1567. },
  1568. "406": {
  1569. "title": "Insufficient Control of Network Message Volume (Network Amplification)",
  1570. "description":
  1571. "The software does not sufficiently monitor or control transmitted network traffic volume, so that an actor can cause the software to transmit more traffic than should be allowed for that actor."
  1572. },
  1573. "407": {
  1574. "title": "Algorithmic Complexity",
  1575. "description":
  1576. "An algorithm in a product has an inefficient worst-case computational complexity that may be detrimental to system performance and can be triggered by an attacker, typically using crafted manipulations that ensure that the worst case is being reached."
  1577. },
  1578. "408": {
  1579. "title": "Incorrect Behavior Order: Early Amplification",
  1580. "description":
  1581. "The software allows an entity to perform a legitimate but expensive operation before authentication or authorization has taken place."
  1582. },
  1583. "409": {
  1584. "title": "Improper Handling of Highly Compressed Data (Data Amplification)",
  1585. "description":
  1586. "The software does not handle or incorrectly handles a compressed input with a very high compression ratio that produces a large output."
  1587. },
  1588. "41": {
  1589. "title": "Improper Resolution of Path Equivalence",
  1590. "description":
  1591. "The system or application is vulnerable to file system contents disclosure through path equivalence. Path equivalence involves the use of special characters in file and directory names. The associated manipulations are intended to generate multiple names for the same object."
  1592. },
  1593. "410": {
  1594. "title": "Insufficient Resource Pool",
  1595. "description":
  1596. "The software's resource pool is not large enough to handle peak demand, which allows an attacker to prevent others from accessing the resource by using a (relatively) large number of requests for resources."
  1597. },
  1598. "412": {
  1599. "title": "Unrestricted Externally Accessible Lock",
  1600. "description":
  1601. "The software properly checks for the existence of a lock, but the lock can be externally controlled or influenced by an actor that is outside of the intended sphere of control."
  1602. },
  1603. "413": {
  1604. "title": "Improper Resource Locking",
  1605. "description":
  1606. "The software does not lock or does not correctly lock a resource when the software must have exclusive access to the resource."
  1607. },
  1608. "414": {
  1609. "title": "Missing Lock Check",
  1610. "description":
  1611. "A product does not check to see if a lock is present before performing sensitive operations on a resource."
  1612. },
  1613. "415": {
  1614. "title": "Double Free",
  1615. "description":
  1616. "The product calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations."
  1617. },
  1618. "416": {
  1619. "title": "Use After Free",
  1620. "description":
  1621. "Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code."
  1622. },
  1623. "419": {
  1624. "title": "Unprotected Primary Channel",
  1625. "description":
  1626. "The software uses a primary channel for administration or restricted functionality, but it does not properly protect the channel."
  1627. },
  1628. "42": {
  1629. "title": "Path Equivalence: 'filename.' (Trailing Dot)",
  1630. "description":
  1631. "A software system that accepts path input in the form of trailing dot ('filedir.') without appropriate validation can lead to ambiguous path resolution and allow an attacker to traverse the file system to unintended locations or access arbitrary files."
  1632. },
  1633. "420": {
  1634. "title": "Unprotected Alternate Channel",
  1635. "description":
  1636. "The software protects a primary channel, but it does not use the same level of protection for an alternate channel."
  1637. },
  1638. "421": {
  1639. "title": "Race Condition During Access to Alternate Channel",
  1640. "description":
  1641. "The product opens an alternate channel to communicate with an authorized user, but the channel is accessible to other actors."
  1642. },
  1643. "422": {
  1644. "title": "Unprotected Windows Messaging Channel ('Shatter')",
  1645. "description":
  1646. "The software does not properly verify the source of a message in the Windows Messaging System while running at elevated privileges, creating an alternate channel through which an attacker can directly send a message to the product."
  1647. },
  1648. "424": {
  1649. "title": "Improper Protection of Alternate Path",
  1650. "description":
  1651. "The product does not sufficiently protect all possible paths that a user can take to access restricted functionality or resources."
  1652. },
  1653. "425": {
  1654. "title": "Direct Request ('Forced Browsing')",
  1655. "description":
  1656. "The web application does not adequately enforce appropriate authorization on all restricted URLs, scripts, or files."
  1657. },
  1658. "426": {
  1659. "title": "Untrusted Search Path",
  1660. "description":
  1661. "The application searches for critical resources using an externally-supplied search path that can point to resources that are not under the application's direct control."
  1662. },
  1663. "427": {
  1664. "title": "Uncontrolled Search Path Element",
  1665. "description":
  1666. "The product uses a fixed or controlled search path to find resources, but one or more locations in that path can be under the control of unintended actors."
  1667. },
  1668. "428": {
  1669. "title": "Unquoted Search Path or Element",
  1670. "description":
  1671. "The product uses a search path that contains an unquoted element, in which the element contains whitespace or other separators. This can cause the product to access resources in a parent path."
  1672. },
  1673. "43": {
  1674. "title": "Path Equivalence: 'filename....' (Multiple Trailing Dot)",
  1675. "description":
  1676. "A software system that accepts path input in the form of multiple trailing dot ('filedir....') without appropriate validation can lead to ambiguous path resolution and allow an attacker to traverse the file system to unintended locations or access arbitrary files."
  1677. },
  1678. "430": {
  1679. "title": "Deployment of Wrong Handler",
  1680. "description": "The wrong handler is assigned to process an object."
  1681. },
  1682. "431": {
  1683. "title": "Missing Handler",
  1684. "description": "A handler is not available or implemented."
  1685. },
  1686. "432": {
  1687. "title": "Dangerous Signal Handler not Disabled During Sensitive Operations",
  1688. "description":
  1689. "The application uses a signal handler that shares state with other signal handlers, but it does not properly mask or prevent those signal handlers from being invoked while the original signal handler is still running."
  1690. },
  1691. "433": {
  1692. "title": "Unparsed Raw Web Content Delivery",
  1693. "description":
  1694. "The software stores raw content or supporting code under the web document root with an extension that is not specifically handled by the server."
  1695. },
  1696. "434": {
  1697. "title": "Unrestricted Upload of File with Dangerous Type",
  1698. "description":
  1699. "The software allows the attacker to upload or transfer files of dangerous types that can be automatically processed within the product's environment."
  1700. },
  1701. "435": {
  1702. "title": "Improper Interaction Between Multiple Correctly-Behaving Entities",
  1703. "description":
  1704. "An interaction error occurs when two entities have correct behavior when running independently of each other, but when they are integrated as components in a larger system or process, they introduce incorrect behaviors that may cause resultant weaknesses."
  1705. },
  1706. "436": {
  1707. "title": "Interpretation Conflict",
  1708. "description":
  1709. "Product A handles inputs or steps differently than Product B, which causes A to perform incorrect actions based on its perception of B's state."
  1710. },
  1711. "437": {
  1712. "title": "Incomplete Model of Endpoint Features",
  1713. "description":
  1714. "A product acts as an intermediary or monitor between two or more endpoints, but it does not have a complete model of an endpoint's features, behaviors, or state, potentially causing the product to perform incorrect actions based on this incomplete model."
  1715. },
  1716. "439": {
  1717. "title": "Behavioral Change in New Version or Environment",
  1718. "description":
  1719. "A's behavior or functionality changes with a new version of A, or a new environment, which is not known (or manageable) by B."
  1720. },
  1721. "44": {
  1722. "title": "Path Equivalence: 'file.name' (Internal Dot)",
  1723. "description":
  1724. "A software system that accepts path input in the form of internal dot ('file.ordir') without appropriate validation can lead to ambiguous path resolution and allow an attacker to traverse the file system to unintended locations or access arbitrary files."
  1725. },
  1726. "440": {
  1727. "title": "Expected Behavior Violation",
  1728. "description":
  1729. "A feature, API, or function being used by a product behaves differently than the product expects."
  1730. },
  1731. "441": {
  1732. "title": "Unintended Proxy or Intermediary ('Confused Deputy')",
  1733. "description":
  1734. "The software receives a request, message, or directive from an upstream component, but the software does not sufficiently preserve the original source of the request before forwarding the request to an external actor that is outside of the software's control sphere. This causes the software to appear to be the source of the request, leading it to act as a proxy or other intermediary between the upstream component and the external actor."
  1735. },
  1736. "444": {
  1737. "title": "Inconsistent Interpretation of HTTP Requests ('HTTP Request Smuggling')",
  1738. "description":
  1739. "When malformed or abnormal HTTP requests are interpreted by one or more entities in the data flow between the user and the web server, such as a proxy or firewall, they can be interpreted inconsistently, allowing the attacker to smuggle a request to one device without the other device being aware of it."
  1740. },
  1741. "446": {
  1742. "title": "UI Discrepancy for Security Feature",
  1743. "description":
  1744. "The user interface does not correctly enable or configure a security feature, but the interface provides feedback that causes the user to believe that the feature is in a secure state."
  1745. },
  1746. "447": {
  1747. "title": "Unimplemented or Unsupported Feature in UI",
  1748. "description":
  1749. "A UI function for a security feature appears to be supported and gives feedback to the user that suggests that it is supported, but the underlying functionality is not implemented."
  1750. },
  1751. "448": {
  1752. "title": "Obsolete Feature in UI",
  1753. "description": "A UI function is obsolete and the product does not warn the user."
  1754. },
  1755. "449": {
  1756. "title": "The UI Performs the Wrong Action",
  1757. "description": "The UI performs the wrong action with respect to the user's request."
  1758. },
  1759. "45": {
  1760. "title": "Path Equivalence: 'file...name' (Multiple Internal Dot)",
  1761. "description":
  1762. "A software system that accepts path input in the form of multiple internal dot ('file...dir') without appropriate validation can lead to ambiguous path resolution and allow an attacker to traverse the file system to unintended locations or access arbitrary files."
  1763. },
  1764. "450": {
  1765. "title": "Multiple Interpretations of UI Input",
  1766. "description":
  1767. "The UI has multiple interpretations of user input but does not prompt the user when it selects the less secure interpretation."
  1768. },
  1769. "451": {
  1770. "title": "User Interface (UI) Misrepresentation of Critical Information",
  1771. "description":
  1772. "The user interface (UI) does not properly represent critical information to the user, allowing the information - or its source - to be obscured or spoofed. This is often a component in phishing attacks."
  1773. },
  1774. "453": {
  1775. "title": "Insecure Default Variable Initialization",
  1776. "description":
  1777. "The software, by default, initializes an internal variable with an insecure or less secure value than is possible."
  1778. },
  1779. "454": {
  1780. "title": "External Initialization of Trusted Variables or Data Stores",
  1781. "description":
  1782. "The software initializes critical internal variables or data stores using inputs that can be modified by untrusted actors."
  1783. },
  1784. "455": {
  1785. "title": "Non-exit on Failed Initialization",
  1786. "description":
  1787. "The software does not exit or otherwise modify its operation when security-relevant errors occur during initialization, such as when a configuration file has a format error, which can cause the software to execute in a less secure fashion than intended by the administrator."
  1788. },
  1789. "456": {
  1790. "title": "Missing Initialization of a Variable",
  1791. "description":
  1792. "The software does not initialize critical variables, which causes the execution environment to use unexpected values."
  1793. },
  1794. "457": {
  1795. "title": "Use of Uninitialized Variable",
  1796. "description":
  1797. "The code uses a variable that has not been initialized, leading to unpredictable or unintended results."
  1798. },
  1799. "459": {
  1800. "title": "Incomplete Cleanup",
  1801. "description":
  1802. "The software does not properly clean up and remove temporary or supporting resources after they have been used."
  1803. },
  1804. "46": {
  1805. "title": "Path Equivalence: 'filename ' (Trailing Space)",
  1806. "description":
  1807. "A software system that accepts path input in the form of trailing space ('filedir ') without appropriate validation can lead to ambiguous path resolution and allow an attacker to traverse the file system to unintended locations or access arbitrary files."
  1808. },
  1809. "460": {
  1810. "title": "Improper Cleanup on Thrown Exception",
  1811. "description":
  1812. "The product does not clean up its state or incorrectly cleans up its state when an exception is thrown, leading to unexpected state or control flow."
  1813. },
  1814. "462": {
  1815. "title": "Duplicate Key in Associative List (Alist)",
  1816. "description":
  1817. "Duplicate keys in associative lists can lead to non-unique keys being mistaken for an error."
  1818. },
  1819. "463": {
  1820. "title": "Deletion of Data Structure Sentinel",
  1821. "description":
  1822. "The accidental deletion of a data-structure sentinel can cause serious programming logic problems."
  1823. },
  1824. "464": {
  1825. "title": "Addition of Data Structure Sentinel",
  1826. "description":
  1827. "The accidental addition of a data-structure sentinel can cause serious programming logic problems."
  1828. },
  1829. "466": {
  1830. "title": "Return of Pointer Value Outside of Expected Range",
  1831. "description":
  1832. "A function can return a pointer to memory that is outside of the buffer that the pointer is expected to reference."
  1833. },
  1834. "467": {
  1835. "title": "Use of sizeof() on a Pointer Type",
  1836. "description":
  1837. "The code calls sizeof() on a malloced pointer type, which always returns the wordsize/8. This can produce an unexpected result if the programmer intended to determine how much memory has been allocated."
  1838. },
  1839. "468": {
  1840. "title": "Incorrect Pointer Scaling",
  1841. "description":
  1842. "In C and C++, one may often accidentally refer to the wrong memory due to the semantics of when math operations are implicitly scaled."
  1843. },
  1844. "469": {
  1845. "title": "Use of Pointer Subtraction to Determine Size",
  1846. "description":
  1847. "The application subtracts one pointer from another in order to determine size, but this calculation can be incorrect if the pointers do not exist in the same memory chunk."
  1848. },
  1849. "47": {
  1850. "title": "Path Equivalence: ' filename' (Leading Space)",
  1851. "description":
  1852. "A software system that accepts path input in the form of leading space (' filedir') without appropriate validation can lead to ambiguous path resolution and allow an attacker to traverse the file system to unintended locations or access arbitrary files."
  1853. },
  1854. "470": {
  1855. "title": "Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')",
  1856. "description":
  1857. "The application uses external input with reflection to select which classes or code to use, but it does not sufficiently prevent the input from selecting improper classes or code."
  1858. },
  1859. "471": {
  1860. "title": "Modification of Assumed-Immutable Data (MAID)",
  1861. "description":
  1862. "The software does not properly protect an assumed-immutable element from being modified by an attacker."
  1863. },
  1864. "472": {
  1865. "title": "External Control of Assumed-Immutable Web Parameter",
  1866. "description":
  1867. "The web application does not sufficiently verify inputs that are assumed to be immutable but are actually externally controllable, such as hidden form fields."
  1868. },
  1869. "473": {
  1870. "title": "PHP External Variable Modification",
  1871. "description":
  1872. "A PHP application does not properly protect against the modification of variables from external sources, such as query parameters or cookies. This can expose the application to numerous weaknesses that would not exist otherwise."
  1873. },
  1874. "474": {
  1875. "title": "Use of Function with Inconsistent Implementations",
  1876. "description":
  1877. "The code uses a function that has inconsistent implementations across operating systems and versions."
  1878. },
  1879. "475": {
  1880. "title": "Undefined Behavior for Input to API",
  1881. "description":
  1882. "The behavior of this function is undefined unless its control parameter is set to a specific value."
  1883. },
  1884. "476": {
  1885. "title": "NULL Pointer Dereference",
  1886. "description":
  1887. "A NULL pointer dereference occurs when the application dereferences a pointer that it expects to be valid, but is NULL, typically causing a crash or exit."
  1888. },
  1889. "477": {
  1890. "title": "Use of Obsolete Function",
  1891. "description":
  1892. "The code uses deprecated or obsolete functions, which suggests that the code has not been actively reviewed or maintained."
  1893. },
  1894. "478": {
  1895. "title": "Missing Default Case in Switch Statement",
  1896. "description":
  1897. "The code does not have a default case in a switch statement, which might lead to complex logical errors and resultant weaknesses."
  1898. },
  1899. "479": {
  1900. "title": "Signal Handler Use of a Non-reentrant Function",
  1901. "description": "The program defines a signal handler that calls a non-reentrant function."
  1902. },
  1903. "48": {
  1904. "title": "Path Equivalence: 'file name' (Internal Whitespace)",
  1905. "description":
  1906. "A software system that accepts path input in the form of internal space ('file(SPACE)name') without appropriate validation can lead to ambiguous path resolution and allow an attacker to traverse the file system to unintended locations or access arbitrary files."
  1907. },
  1908. "480": {
  1909. "title": "Use of Incorrect Operator",
  1910. "description":
  1911. "The programmer accidentally uses the wrong operator, which changes the application logic in security-relevant ways."
  1912. },
  1913. "481": {
  1914. "title": "Assigning instead of Comparing",
  1915. "description":
  1916. "The code uses an operator for assignment when the intention was to perform a comparison."
  1917. },
  1918. "482": {
  1919. "title": "Comparing instead of Assigning",
  1920. "description":
  1921. "The code uses an operator for comparison when the intention was to perform an assignment."
  1922. },
  1923. "483": {
  1924. "title": "Incorrect Block Delimitation",
  1925. "description":
  1926. "The code does not explicitly delimit a block that is intended to contain 2 or more statements, creating a logic error."
  1927. },
  1928. "484": {
  1929. "title": "Omitted Break Statement in Switch",
  1930. "description":
  1931. "The program omits a break statement within a switch or similar construct, causing code associated with multiple conditions to execute. This can cause problems when the programmer only intended to execute code associated with one condition."
  1932. },
  1933. "486": {
  1934. "title": "Comparison of Classes by Name",
  1935. "description":
  1936. "The program compares classes by name, which can cause it to use the wrong class when multiple classes can have the same name."
  1937. },
  1938. "487": {
  1939. "title": "Reliance on Package-level Scope",
  1940. "description":
  1941. "Java packages are not inherently closed; therefore, relying on them for code security is not a good practice."
  1942. },
  1943. "488": {
  1944. "title": "Exposure of Data Element to Wrong Session",
  1945. "description":
  1946. "The product does not sufficiently enforce boundaries between the states of different sessions, causing data to be provided to, or used by, the wrong session."
  1947. },
  1948. "489": {
  1949. "title": "Leftover Debug Code",
  1950. "description":
  1951. "The application can be deployed with active debugging code that can create unintended entry points."
  1952. },
  1953. "49": {
  1954. "title": "Path Equivalence: 'filename/' (Trailing Slash)",
  1955. "description":
  1956. "A software system that accepts path input in the form of trailing slash ('filedir/') without appropriate validation can lead to ambiguous path resolution and allow an attacker to traverse the file system to unintended locations or access arbitrary files."
  1957. },
  1958. "491": {
  1959. "title": "Public cloneable() Method Without Final ('Object Hijack')",
  1960. "description":
  1961. "A class has a cloneable() method that is not declared final, which allows an object to be created without calling the constructor. This can cause the object to be in an unexpected state."
  1962. },
  1963. "492": {
  1964. "title": "Use of Inner Class Containing Sensitive Data",
  1965. "description":
  1966. "Inner classes are translated into classes that are accessible at package scope and may expose code that the programmer intended to keep private to attackers."
  1967. },
  1968. "493": {
  1969. "title": "Critical Public Variable Without Final Modifier",
  1970. "description":
  1971. "The product has a critical public variable that is not final, which allows the variable to be modified to contain unexpected values."
  1972. },
  1973. "494": {
  1974. "title": "Download of Code Without Integrity Check",
  1975. "description":
  1976. "The product downloads source code or an executable from a remote location and executes the code without sufficiently verifying the origin and integrity of the code."
  1977. },
  1978. "495": {
  1979. "title": "Private Array-Typed Field Returned From A Public Method",
  1980. "description":
  1981. "The product has a method that is declared public, but returns a reference to a private array, which could then be modified in unexpected ways."
  1982. },
  1983. "496": {
  1984. "title": "Public Data Assigned to Private Array-Typed Field",
  1985. "description":
  1986. "Assigning public data to a private array is equivalent to giving public access to the array."
  1987. },
  1988. "497": {
  1989. "title": "Exposure of System Data to an Unauthorized Control Sphere",
  1990. "description":
  1991. "Exposing system data or debugging information helps an adversary learn about the system and form an attack plan."
  1992. },
  1993. "498": {
  1994. "title": "Cloneable Class Containing Sensitive Information",
  1995. "description":
  1996. "The code contains a class with sensitive data, but the class is cloneable. The data can then be accessed by cloning the class."
  1997. },
  1998. "499": {
  1999. "title": "Serializable Class Containing Sensitive Data",
  2000. "description":
  2001. "The code contains a class with sensitive data, but the class does not explicitly deny serialization. The data can be accessed by serializing the class through another class."
  2002. },
  2003. "5": {
  2004. "title": "J2EE Misconfiguration: Data Transmission Without Encryption",
  2005. "description":
  2006. "Information sent over a network can be compromised while in transit. An attacker may be able to read or modify the contents if the data are sent in plaintext or are weakly encrypted."
  2007. },
  2008. "50": {
  2009. "title": "Path Equivalence: '//multiple/leading/slash'",
  2010. "description":
  2011. "A software system that accepts path input in the form of multiple leading slash ('//multiple/leading/slash') without appropriate validation can lead to ambiguous path resolution and allow an attacker to traverse the file system to unintended locations or access arbitrary files."
  2012. },
  2013. "500": {
  2014. "title": "Public Static Field Not Marked Final",
  2015. "description":
  2016. "An object contains a public static field that is not marked final, which might allow it to be modified in unexpected ways."
  2017. },
  2018. "501": {
  2019. "title": "Trust Boundary Violation",
  2020. "description":
  2021. "The product mixes trusted and untrusted data in the same data structure or structured message."
  2022. },
  2023. "502": {
  2024. "title": "Deserialization of Untrusted Data",
  2025. "description":
  2026. "The application deserializes untrusted data without sufficiently verifying that the resulting data will be valid."
  2027. },
  2028. "506": {
  2029. "title": "Embedded Malicious Code",
  2030. "description": "The application contains code that appears to be malicious in nature."
  2031. },
  2032. "507": {
  2033. "title": "Trojan Horse",
  2034. "description":
  2035. "The software appears to contain benign or useful functionality, but it also contains code that is hidden from normal operation that violates the intended security policy of the user or the system administrator."
  2036. },
  2037. "508": {
  2038. "title": "Non-Replicating Malicious Code",
  2039. "description":
  2040. "Non-replicating malicious code only resides on the target system or software that is attacked; it does not attempt to spread to other systems."
  2041. },
  2042. "509": {
  2043. "title": "Replicating Malicious Code (Virus or Worm)",
  2044. "description":
  2045. "Replicating malicious code, including viruses and worms, will attempt to attack other systems once it has successfully compromised the target system or software."
  2046. },
  2047. "51": {
  2048. "title": "Path Equivalence: '/multiple//internal/slash'",
  2049. "description":
  2050. "A software system that accepts path input in the form of multiple internal slash ('/multiple//internal/slash/') without appropriate validation can lead to ambiguous path resolution and allow an attacker to traverse the file system to unintended locations or access arbitrary files."
  2051. },
  2052. "510": {
  2053. "title": "Trapdoor",
  2054. "description":
  2055. "A trapdoor is a hidden piece of code that responds to a special input, allowing its user access to resources without passing through the normal security enforcement mechanism."
  2056. },
  2057. "511": {
  2058. "title": "Logic/Time Bomb",
  2059. "description":
  2060. "The software contains code that is designed to disrupt the legitimate operation of the software (or its environment) when a certain time passes, or when a certain logical condition is met."
  2061. },
  2062. "512": {
  2063. "title": "Spyware",
  2064. "description":
  2065. "The software collects personally identifiable information about a human user or the user's activities, but the software accesses this information using other resources besides itself, and it does not require that user's explicit approval or direct input into the software."
  2066. },
  2067. "514": {
  2068. "title": "Covert Channel",
  2069. "description":
  2070. "A covert channel is a path that can be used to transfer information in a way not intended by the system's designers."
  2071. },
  2072. "515": {
  2073. "title": "Covert Storage Channel",
  2074. "description":
  2075. "A covert storage channel transfers information through the setting of bits by one program and the reading of those bits by another. What distinguishes this case from that of ordinary operation is that the bits are used to convey encoded information."
  2076. },
  2077. "52": {
  2078. "title": "Path Equivalence: '/multiple/trailing/slash//'",
  2079. "description":
  2080. "A software system that accepts path input in the form of multiple trailing slash ('/multiple/trailing/slash//') without appropriate validation can lead to ambiguous path resolution and allow an attacker to traverse the file system to unintended locations or access arbitrary files."
  2081. },
  2082. "520": {
  2083. "title": ".NET Misconfiguration: Use of Impersonation",
  2084. "description":
  2085. "Allowing a .NET application to run at potentially escalated levels of access to the underlying operating and file systems can be dangerous and result in various forms of attacks."
  2086. },
  2087. "521": {
  2088. "title": "Weak Password Requirements",
  2089. "description":
  2090. "The product does not require that users should have strong passwords, which makes it easier for attackers to compromise user accounts."
  2091. },
  2092. "522": {
  2093. "title": "Insufficiently Protected Credentials",
  2094. "description":
  2095. "This weakness occurs when the application transmits or stores authentication credentials and uses an insecure method that is susceptible to unauthorized interception and/or retrieval."
  2096. },
  2097. "523": {
  2098. "title": "Unprotected Transport of Credentials",
  2099. "description":
  2100. "Login pages not using adequate measures to protect the user name and password while they are in transit from the client to the server."
  2101. },
  2102. "524": {
  2103. "title": "Information Exposure Through Caching",
  2104. "description":
  2105. "The application uses a cache to maintain a pool of objects, threads, connections, pages, or passwords to minimize the time it takes to access them or the resources to which they connect. If implemented improperly, these caches can allow access to unauthorized information or cause a denial of service vulnerability."
  2106. },
  2107. "525": {
  2108. "title": "Information Exposure Through Browser Caching",
  2109. "description":
  2110. "For each web page, the application should have an appropriate caching policy specifying the extent to which the page and its form fields should be cached."
  2111. },
  2112. "526": {
  2113. "title": "Information Exposure Through Environmental Variables",
  2114. "description":
  2115. "Environmental variables may contain sensitive information about a remote server."
  2116. },
  2117. "527": {
  2118. "title": "Exposure of CVS Repository to an Unauthorized Control Sphere",
  2119. "description":
  2120. "The product stores a CVS repository in a directory or other container that is accessible to actors outside of the intended control sphere."
  2121. },
  2122. "528": {
  2123. "title": "Exposure of Core Dump File to an Unauthorized Control Sphere",
  2124. "description":
  2125. "The product generates a core dump file in a directory that is accessible to actors outside of the intended control sphere."
  2126. },
  2127. "529": {
  2128. "title": "Exposure of Access Control List Files to an Unauthorized Control Sphere",
  2129. "description":
  2130. "The product stores access control list files in a directory or other container that is accessible to actors outside of the intended control sphere."
  2131. },
  2132. "53": {
  2133. "title": "Path Equivalence: 'multipleinternalbackslash'",
  2134. "description":
  2135. "A software system that accepts path input in the form of multiple internal backslash ('multipletrailingslash') without appropriate validation can lead to ambiguous path resolution and allow an attacker to traverse the file system to unintended locations or access arbitrary files."
  2136. },
  2137. "530": {
  2138. "title": "Exposure of Backup File to an Unauthorized Control Sphere",
  2139. "description":
  2140. "A backup file is stored in a directory that is accessible to actors outside of the intended control sphere."
  2141. },
  2142. "531": {
  2143. "title": "Information Exposure Through Test Code",
  2144. "description":
  2145. "Accessible test applications can pose a variety of security risks. Since developers or administrators rarely consider that someone besides themselves would even know about the existence of these applications, it is common for them to contain sensitive information or functions."
  2146. },
  2147. "532": {
  2148. "title": "Information Exposure Through Log Files",
  2149. "description":
  2150. "Information written to log files can be of a sensitive nature and give valuable guidance to an attacker or expose sensitive user information."
  2151. },
  2152. "535": {
  2153. "title": "Information Exposure Through Shell Error Message",
  2154. "description":
  2155. "A command shell error message indicates that there exists an unhandled exception in the web application code. In many cases, an attacker can leverage the conditions that cause these errors in order to gain unauthorized access to the system."
  2156. },
  2157. "536": {
  2158. "title": "Information Exposure Through Servlet Runtime Error Message",
  2159. "description":
  2160. "A servlet error message indicates that there exists an unhandled exception in your web application code and may provide useful information to an attacker."
  2161. },
  2162. "537": {
  2163. "title": "Information Exposure Through Java Runtime Error Message",
  2164. "description":
  2165. "In many cases, an attacker can leverage the conditions that cause unhandled exception errors in order to gain unauthorized access to the system."
  2166. },
  2167. "538": {
  2168. "title": "File and Directory Information Exposure",
  2169. "description":
  2170. "The product stores sensitive information in files or directories that are accessible to actors outside of the intended control sphere."
  2171. },
  2172. "539": {
  2173. "title": "Information Exposure Through Persistent Cookies",
  2174. "description":
  2175. "Persistent cookies are cookies that are stored on the browser's hard drive. This can cause security and privacy issues depending on the information stored in the cookie and how it is accessed."
  2176. },
  2177. "54": {
  2178. "title": "Path Equivalence: 'filedir' (Trailing Backslash)",
  2179. "description":
  2180. "A software system that accepts path input in the form of trailing backslash ('filedir') without appropriate validation can lead to ambiguous path resolution and allow an attacker to traverse the file system to unintended locations or access arbitrary files."
  2181. },
  2182. "540": {
  2183. "title": "Information Exposure Through Source Code",
  2184. "description":
  2185. "Source code on a web server often contains sensitive information and should generally not be accessible to users."
  2186. },
  2187. "541": {
  2188. "title": "Information Exposure Through Include Source Code",
  2189. "description":
  2190. "If an include file source is accessible, the file can contain usernames and passwords, as well as sensitive information pertaining to the application and system."
  2191. },
  2192. "543": {
  2193. "title": "Use of Singleton Pattern Without Synchronization in a Multithreaded Context",
  2194. "description":
  2195. "The software uses the singleton pattern when creating a resource within a multithreaded environment."
  2196. },
  2197. "544": {
  2198. "title": "Missing Standardized Error Handling Mechanism",
  2199. "description":
  2200. "The software does not use a standardized method for handling errors throughout the code, which might introduce inconsistent error handling and resultant weaknesses."
  2201. },
  2202. "546": {
  2203. "title": "Suspicious Comment",
  2204. "description":
  2205. "The code contains comments that suggest the presence of bugs, incomplete functionality, or weaknesses."
  2206. },
  2207. "547": {
  2208. "title": "Use of Hard-coded, Security-relevant Constants",
  2209. "description":
  2210. "The program uses hard-coded constants instead of symbolic names for security-critical values, which increases the likelihood of mistakes during code maintenance or security policy change."
  2211. },
  2212. "548": {
  2213. "title": "Information Exposure Through Directory Listing",
  2214. "description":
  2215. "A directory listing is inappropriately exposed, yielding potentially sensitive information to attackers."
  2216. },
  2217. "549": {
  2218. "title": "Missing Password Field Masking",
  2219. "description":
  2220. "The software does not mask passwords during entry, increasing the potential for attackers to observe and capture passwords."
  2221. },
  2222. "55": {
  2223. "title": "Path Equivalence: '/./' (Single Dot Directory)",
  2224. "description":
  2225. "A software system that accepts path input in the form of single dot directory exploit ('/./') without appropriate validation can lead to ambiguous path resolution and allow an attacker to traverse the file system to unintended locations or access arbitrary files."
  2226. },
  2227. "550": {
  2228. "title": "Information Exposure Through Server Error Message",
  2229. "description":
  2230. "Certain conditions, such as network failure, will cause a server error message to be displayed."
  2231. },
  2232. "551": {
  2233. "title": "Incorrect Behavior Order: Authorization Before Parsing and Canonicalization",
  2234. "description":
  2235. "If a web server does not fully parse requested URLs before it examines them for authorization, it may be possible for an attacker to bypass authorization protection."
  2236. },
  2237. "552": {
  2238. "title": "Files or Directories Accessible to External Parties",
  2239. "description": "Files or directories are accessible in the environment that should not be."
  2240. },
  2241. "553": {
  2242. "title": "Command Shell in Externally Accessible Directory",
  2243. "description":
  2244. "A possible shell file exists in /cgi-bin/ or other accessible directories. This is extremely dangerous and can be used by an attacker to execute commands on the web server."
  2245. },
  2246. "554": {
  2247. "title": "ASP.NET Misconfiguration: Not Using Input Validation Framework",
  2248. "description": "The ASP.NET application does not use an input validation framework."
  2249. },
  2250. "555": {
  2251. "title": "J2EE Misconfiguration: Plaintext Password in Configuration File",
  2252. "description": "The J2EE application stores a plaintext password in a configuration file."
  2253. },
  2254. "556": {
  2255. "title": "ASP.NET Misconfiguration: Use of Identity Impersonation",
  2256. "description":
  2257. "Configuring an ASP.NET application to run with impersonated credentials may give the application unnecessary privileges."
  2258. },
  2259. "558": {
  2260. "title": "Use of getlogin() in Multithreaded Application",
  2261. "description":
  2262. "The application uses the getlogin() function in a multithreaded context, potentially causing it to return incorrect values."
  2263. },
  2264. "56": {
  2265. "title": "Path Equivalence: 'filedir*' (Wildcard)",
  2266. "description":
  2267. "A software system that accepts path input in the form of asterisk wildcard ('filedir*') without appropriate validation can lead to ambiguous path resolution and allow an attacker to traverse the file system to unintended locations or access arbitrary files."
  2268. },
  2269. "560": {
  2270. "title": "Use of umask() with chmod-style Argument",
  2271. "description":
  2272. "The product calls umask() with an incorrect argument that is specified as if it is an argument to chmod()."
  2273. },
  2274. "561": {
  2275. "title": "Dead Code",
  2276. "description": "The software contains dead code, which can never be executed."
  2277. },
  2278. "562": {
  2279. "title": "Return of Stack Variable Address",
  2280. "description":
  2281. "A function returns the address of a stack variable, which will cause unintended program behavior, typically in the form of a crash."
  2282. },
  2283. "563": {
  2284. "title": "Assignment to Variable without Use",
  2285. "description": "The variable's value is assigned but never used, making it a dead store."
  2286. },
  2287. "564": {
  2288. "title": "SQL Injection: Hibernate",
  2289. "description":
  2290. "Using Hibernate to execute a dynamic SQL statement built with user-controlled input can allow an attacker to modify the statement's meaning or to execute arbitrary SQL commands."
  2291. },
  2292. "565": {
  2293. "title": "Reliance on Cookies without Validation and Integrity Checking",
  2294. "description":
  2295. "The application relies on the existence or values of cookies when performing security-critical operations, but it does not properly ensure that the setting is valid for the associated user."
  2296. },
  2297. "566": {
  2298. "title": "Authorization Bypass Through User-Controlled SQL Primary Key",
  2299. "description":
  2300. "The software uses a database table that includes records that should not be accessible to an actor, but it executes a SQL statement with a primary key that can be controlled by that actor."
  2301. },
  2302. "567": {
  2303. "title": "Unsynchronized Access to Shared Data in a Multithreaded Context",
  2304. "description":
  2305. "The product does not properly synchronize shared data, such as static variables across threads, which can lead to undefined behavior and unpredictable data changes."
  2306. },
  2307. "568": {
  2308. "title": "finalize() Method Without super.finalize()",
  2309. "description":
  2310. "The software contains a finalize() method that does not call super.finalize()."
  2311. },
  2312. "57": {
  2313. "title": "Path Equivalence: 'fakedir/../realdir/filename'",
  2314. "description":
  2315. "The software contains protection mechanisms to restrict access to 'realdir/filename', but it constructs pathnames using external input in the form of 'fakedir/../realdir/filename' that are not handled by those mechanisms. This allows attackers to perform unauthorized actions against the targeted file."
  2316. },
  2317. "570": {
  2318. "title": "Expression is Always False",
  2319. "description": "The software contains an expression that will always evaluate to false."
  2320. },
  2321. "571": {
  2322. "title": "Expression is Always True",
  2323. "description": "The software contains an expression that will always evaluate to true."
  2324. },
  2325. "572": {
  2326. "title": "Call to Thread run() instead of start()",
  2327. "description":
  2328. "The program calls a thread's run() method instead of calling start(), which causes the code to run in the thread of the caller instead of the callee."
  2329. },
  2330. "573": {
  2331. "title": "Improper Following of Specification by Caller",
  2332. "description":
  2333. "The software does not follow or incorrectly follows the specifications as required by the implementation language, environment, framework, protocol, or platform."
  2334. },
  2335. "574": {
  2336. "title": "EJB Bad Practices: Use of Synchronization Primitives",
  2337. "description":
  2338. "The program violates the Enterprise JavaBeans (EJB) specification by using thread synchronization primitives."
  2339. },
  2340. "575": {
  2341. "title": "EJB Bad Practices: Use of AWT Swing",
  2342. "description":
  2343. "The program violates the Enterprise JavaBeans (EJB) specification by using AWT/Swing."
  2344. },
  2345. "576": {
  2346. "title": "EJB Bad Practices: Use of Java I/O",
  2347. "description":
  2348. "The program violates the Enterprise JavaBeans (EJB) specification by using the java.io package."
  2349. },
  2350. "577": {
  2351. "title": "EJB Bad Practices: Use of Sockets",
  2352. "description":
  2353. "The program violates the Enterprise JavaBeans (EJB) specification by using sockets."
  2354. },
  2355. "578": {
  2356. "title": "EJB Bad Practices: Use of Class Loader",
  2357. "description":
  2358. "The program violates the Enterprise JavaBeans (EJB) specification by using the class loader."
  2359. },
  2360. "579": {
  2361. "title": "J2EE Bad Practices: Non-serializable Object Stored in Session",
  2362. "description":
  2363. "The application stores a non-serializable object as an HttpSession attribute, which can hurt reliability."
  2364. },
  2365. "58": {
  2366. "title": "Path Equivalence: Windows 8.3 Filename",
  2367. "description":
  2368. "The software contains a protection mechanism that restricts access to a long filename on a Windows operating system, but the software does not properly restrict access to the equivalent short 8.3 filename."
  2369. },
  2370. "580": {
  2371. "title": "clone() Method Without super.clone()",
  2372. "description":
  2373. "The software contains a clone() method that does not call super.clone() to obtain the new object."
  2374. },
  2375. "581": {
  2376. "title": "Object Model Violation: Just One of Equals and Hashcode Defined",
  2377. "description": "The software does not maintain equal hashcodes for equal objects."
  2378. },
  2379. "582": {
  2380. "title": "Array Declared Public, Final, and Static",
  2381. "description":
  2382. "The program declares an array public, final, and static, which is not sufficient to prevent the array's contents from being modified."
  2383. },
  2384. "583": {
  2385. "title": "finalize() Method Declared Public",
  2386. "description":
  2387. "The program violates secure coding principles for mobile code by declaring a finalize() method public."
  2388. },
  2389. "584": {
  2390. "title": "Return Inside Finally Block",
  2391. "description":
  2392. "The code has a return statement inside a finally block, which will cause any thrown exception in the try block to be discarded."
  2393. },
  2394. "585": {
  2395. "title": "Empty Synchronized Block",
  2396. "description": "The software contains an empty synchronized block."
  2397. },
  2398. "586": {
  2399. "title": "Explicit Call to Finalize()",
  2400. "description":
  2401. "The software makes an explicit call to the finalize() method from outside the finalizer."
  2402. },
  2403. "587": {
  2404. "title": "Assignment of a Fixed Address to a Pointer",
  2405. "description": "The software sets a pointer to a specific address other than NULL or 0."
  2406. },
  2407. "588": {
  2408. "title": "Attempt to Access Child of a Non-structure Pointer",
  2409. "description":
  2410. "Casting a non-structure type to a structure type and accessing a field can lead to memory access errors or data corruption."
  2411. },
  2412. "589": {
  2413. "title": "Call to Non-ubiquitous API",
  2414. "description":
  2415. "The software uses an API function that does not exist on all versions of the target platform. This could cause portability problems or inconsistencies that allow denial of service or other consequences."
  2416. },
  2417. "59": {
  2418. "title": "Improper Link Resolution Before File Access ('Link Following')",
  2419. "description":
  2420. "The software attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource."
  2421. },
  2422. "590": {
  2423. "title": "Free of Memory not on the Heap",
  2424. "description":
  2425. "The application calls free() on a pointer to memory that was not allocated using associated heap allocation functions such as malloc(), calloc(), or realloc()."
  2426. },
  2427. "591": {
  2428. "title": "Sensitive Data Storage in Improperly Locked Memory",
  2429. "description":
  2430. "The application stores sensitive data in memory that is not locked, or that has been incorrectly locked, which might cause the memory to be written to swap files on disk by the virtual memory manager. This can make the data more accessible to external actors."
  2431. },
  2432. "593": {
  2433. "title": "Authentication Bypass: OpenSSL CTX Object Modified after SSL Objects are Created",
  2434. "description": "The software modifies the SSL context after connection creation has begun."
  2435. },
  2436. "594": {
  2437. "title": "J2EE Framework: Saving Unserializable Objects to Disk",
  2438. "description":
  2439. "When the J2EE container attempts to write unserializable objects to disk there is no guarantee that the process will complete successfully."
  2440. },
  2441. "595": {
  2442. "title": "Comparison of Object References Instead of Object Contents",
  2443. "description":
  2444. "The program compares object references instead of the contents of the objects themselves, preventing it from detecting equivalent objects."
  2445. },
  2446. "597": {
  2447. "title": "Use of Wrong Operator in String Comparison",
  2448. "description":
  2449. "The product uses the wrong operator when comparing a string, such as using == when the equals() method should be used instead."
  2450. },
  2451. "598": {
  2452. "title": "Information Exposure Through Query Strings in GET Request",
  2453. "description":
  2454. "The web application uses the GET method to process requests that contain sensitive information, which can expose that information through the browser's history, Referers, web logs, and other sources."
  2455. },
  2456. "599": {
  2457. "title": "Missing Validation of OpenSSL Certificate",
  2458. "description":
  2459. "The software uses OpenSSL and trusts or uses a certificate without using the SSL_get_verify_result() function to ensure that the certificate satisfies all necessary security requirements."
  2460. },
  2461. "6": {
  2462. "title": "J2EE Misconfiguration: Insufficient Session-ID Length",
  2463. "description": "The J2EE application is configured to use an insufficient session ID length."
  2464. },
  2465. "600": {
  2466. "title": "Uncaught Exception in Servlet ",
  2467. "description":
  2468. "The Servlet does not catch all exceptions, which may reveal sensitive debugging information."
  2469. },
  2470. "601": {
  2471. "title": "URL Redirection to Untrusted Site ('Open Redirect')",
  2472. "description":
  2473. "A web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a Redirect. This simplifies phishing attacks."
  2474. },
  2475. "602": {
  2476. "title": "Client-Side Enforcement of Server-Side Security",
  2477. "description":
  2478. "The software is composed of a server that relies on the client to implement a mechanism that is intended to protect the server."
  2479. },
  2480. "603": {
  2481. "title": "Use of Client-Side Authentication",
  2482. "description":
  2483. "A client/server product performs authentication within client code but not in server code, allowing server-side authentication to be bypassed via a modified client that omits the authentication check."
  2484. },
  2485. "605": {
  2486. "title": "Multiple Binds to the Same Port",
  2487. "description":
  2488. "When multiple sockets are allowed to bind to the same port, other services on that port may be stolen or spoofed."
  2489. },
  2490. "606": {
  2491. "title": "Unchecked Input for Loop Condition",
  2492. "description":
  2493. "The product does not properly check inputs that are used for loop conditions, potentially leading to a denial of service because of excessive looping."
  2494. },
  2495. "607": {
  2496. "title": "Public Static Final Field References Mutable Object",
  2497. "description":
  2498. "A public or protected static final field references a mutable object, which allows the object to be changed by malicious code, or accidentally from another package."
  2499. },
  2500. "608": {
  2501. "title": "Struts: Non-private Field in ActionForm Class",
  2502. "description":
  2503. "An ActionForm class contains a field that has not been declared private, which can be accessed without using a setter or getter."
  2504. },
  2505. "609": {
  2506. "title": "Double-Checked Locking",
  2507. "description":
  2508. "The program uses double-checked locking to access a resource without the overhead of explicit synchronization, but the locking is insufficient."
  2509. },
  2510. "61": {
  2511. "title": "UNIX Symbolic Link (Symlink) Following",
  2512. "description":
  2513. "The software, when opening a file or directory, does not sufficiently account for when the file is a symbolic link that resolves to a target outside of the intended control sphere. This could allow an attacker to cause the software to operate on unauthorized files."
  2514. },
  2515. "610": {
  2516. "title": "Externally Controlled Reference to a Resource in Another Sphere",
  2517. "description":
  2518. "The product uses an externally controlled name or reference that resolves to a resource that is outside of the intended control sphere."
  2519. },
  2520. "611": {
  2521. "title": "Improper Restriction of XML External Entity Reference ('XXE')",
  2522. "description":
  2523. "The software processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output."
  2524. },
  2525. "612": {
  2526. "title": "Information Exposure Through Indexing of Private Data",
  2527. "description":
  2528. "The product performs an indexing routine against private documents, but does not sufficiently verify that the actors who can access the index also have the privileges to access the private documents."
  2529. },
  2530. "613": {
  2531. "title": "Insufficient Session Expiration",
  2532. "description":
  2533. "According to WASC, Insufficient Session Expiration is when a web site permits an attacker to reuse old session credentials or session IDs for authorization."
  2534. },
  2535. "614": {
  2536. "title": "Sensitive Cookie in HTTPS Session Without 'Secure' Attribute",
  2537. "description":
  2538. "The Secure attribute for sensitive cookies in HTTPS sessions is not set, which could cause the user agent to send those cookies in plaintext over an HTTP session."
  2539. },
  2540. "615": {
  2541. "title": "Information Exposure Through Comments",
  2542. "description":
  2543. "While adding general comments is very useful, some programmers tend to leave important data, such as: filenames related to the web application, old links or links which were not meant to be browsed by users, old code fragments, etc."
  2544. },
  2545. "616": {
  2546. "title": "Incomplete Identification of Uploaded File Variables (PHP)",
  2547. "description":
  2548. "The PHP application uses an old method for processing uploaded files by referencing the four global variables that are set for each file (e.g. $varname, $varname_size, $varname_name, $varname_type). These variables could be overwritten by attackers, causing the application to process unauthorized files."
  2549. },
  2550. "617": {
  2551. "title": "Reachable Assertion",
  2552. "description":
  2553. "The product contains an assert() or similar statement that can be triggered by an attacker, which leads to an application exit or other behavior that is more severe than necessary."
  2554. },
  2555. "618": {
  2556. "title": "Exposed Unsafe ActiveX Method",
  2557. "description":
  2558. "An ActiveX control is intended for use in a web browser, but it exposes dangerous methods that perform actions that are outside of the browser's security model (e.g. the zone or domain)."
  2559. },
  2560. "619": {
  2561. "title": "Dangling Database Cursor ('Cursor Injection')",
  2562. "description":
  2563. "If a database cursor is not closed properly, then it could become accessible to other users while retaining the same privileges that were originally assigned, leaving the cursor dangling."
  2564. },
  2565. "62": {
  2566. "title": "UNIX Hard Link",
  2567. "description":
  2568. "The software, when opening a file or directory, does not sufficiently account for when the name is associated with a hard link to a target that is outside of the intended control sphere. This could allow an attacker to cause the software to operate on unauthorized files."
  2569. },
  2570. "620": {
  2571. "title": "Unverified Password Change",
  2572. "description":
  2573. "When setting a new password for a user, the product does not require knowledge of the original password, or using another form of authentication."
  2574. },
  2575. "621": {
  2576. "title": "Variable Extraction Error",
  2577. "description":
  2578. "The product uses external input to determine the names of variables into which information is extracted, without verifying that the names of the specified variables are valid. This could cause the program to overwrite unintended variables."
  2579. },
  2580. "622": {
  2581. "title": "Improper Validation of Function Hook Arguments",
  2582. "description":
  2583. "A product adds hooks to user-accessible API functions, but does not properly validate the arguments. This could lead to resultant vulnerabilities."
  2584. },
  2585. "623": {
  2586. "title": "Unsafe ActiveX Control Marked Safe For Scripting",
  2587. "description":
  2588. "An ActiveX control is intended for restricted use, but it has been marked as safe-for-scripting."
  2589. },
  2590. "624": {
  2591. "title": "Executable Regular Expression Error",
  2592. "description":
  2593. "The product uses a regular expression that either (1) contains an executable component with user-controlled inputs, or (2) allows a user to enable execution by inserting pattern modifiers."
  2594. },
  2595. "625": {
  2596. "title": "Permissive Regular Expression",
  2597. "description":
  2598. "The product uses a regular expression that does not sufficiently restrict the set of allowed values."
  2599. },
  2600. "626": {
  2601. "title": "Null Byte Interaction Error (Poison Null Byte)",
  2602. "description":
  2603. "The product does not properly handle null bytes or NUL characters when passing data between different representations or components."
  2604. },
  2605. "627": {
  2606. "title": "Dynamic Variable Evaluation",
  2607. "description":
  2608. "In a language where the user can influence the name of a variable at runtime, if the variable names are not controlled, an attacker can read or write to arbitrary variables, or access arbitrary functions."
  2609. },
  2610. "628": {
  2611. "title": "Function Call with Incorrectly Specified Arguments",
  2612. "description":
  2613. "The product calls a function, procedure, or routine with arguments that are not correctly specified, leading to always-incorrect behavior and resultant weaknesses."
  2614. },
  2615. "636": {
  2616. "title": "Not Failing Securely ('Failing Open')",
  2617. "description":
  2618. "When the product encounters an error condition or failure, its design requires it to fall back to a state that is less secure than other options that are available, such as selecting the weakest encryption algorithm or using the most permissive access control restrictions."
  2619. },
  2620. "637": {
  2621. "title": "Unnecessary Complexity in Protection Mechanism (Not Using 'Economy of Mechanism')",
  2622. "description":
  2623. "The software uses a more complex mechanism than necessary, which could lead to resultant weaknesses when the mechanism is not correctly understood, modeled, configured, implemented, or used."
  2624. },
  2625. "638": {
  2626. "title": "Not Using Complete Mediation",
  2627. "description":
  2628. "The software does not perform access checks on a resource every time the resource is accessed by an entity, which can create resultant weaknesses if that entity's rights or privileges change over time."
  2629. },
  2630. "639": {
  2631. "title": "Authorization Bypass Through User-Controlled Key",
  2632. "description":
  2633. "The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data."
  2634. },
  2635. "64": {
  2636. "title": "Windows Shortcut Following (.LNK)",
  2637. "description":
  2638. "The software, when opening a file or directory, does not sufficiently handle when the file is a Windows shortcut (.LNK) whose target is outside of the intended control sphere. This could allow an attacker to cause the software to operate on unauthorized files."
  2639. },
  2640. "640": {
  2641. "title": "Weak Password Recovery Mechanism for Forgotten Password",
  2642. "description":
  2643. "The software contains a mechanism for users to recover or change their passwords without knowing the original password, but the mechanism is weak."
  2644. },
  2645. "641": {
  2646. "title": "Improper Restriction of Names for Files and Other Resources",
  2647. "description":
  2648. "The application constructs the name of a file or other resource using input from an upstream component, but it does not restrict or incorrectly restricts the resulting name."
  2649. },
  2650. "642": {
  2651. "title": "External Control of Critical State Data",
  2652. "description":
  2653. "The software stores security-critical state information about its users, or the software itself, in a location that is accessible to unauthorized actors."
  2654. },
  2655. "643": {
  2656. "title": "Improper Neutralization of Data within XPath Expressions ('XPath Injection')",
  2657. "description":
  2658. "The software uses external input to dynamically construct an XPath expression used to retrieve data from an XML database, but it does not neutralize or incorrectly neutralizes that input. This allows an attacker to control the structure of the query."
  2659. },
  2660. "644": {
  2661. "title": "Improper Neutralization of HTTP Headers for Scripting Syntax",
  2662. "description":
  2663. "The application does not neutralize or incorrectly neutralizes web scripting syntax in HTTP headers that can be used by web browser components that can process raw headers, such as Flash."
  2664. },
  2665. "645": {
  2666. "title": "Overly Restrictive Account Lockout Mechanism",
  2667. "description":
  2668. "The software contains an account lockout protection mechanism, but the mechanism is too restrictive and can be triggered too easily, which allows attackers to deny service to legitimate users by causing their accounts to be locked out."
  2669. },
  2670. "646": {
  2671. "title": "Reliance on File Name or Extension of Externally-Supplied File",
  2672. "description":
  2673. "The software allows a file to be uploaded, but it relies on the file name or extension of the file to determine the appropriate behaviors. This could be used by attackers to cause the file to be misclassified and processed in a dangerous fashion."
  2674. },
  2675. "647": {
  2676. "title": "Use of Non-Canonical URL Paths for Authorization Decisions",
  2677. "description":
  2678. "The software defines policy namespaces and makes authorization decisions based on the assumption that a URL is canonical. This can allow a non-canonical URL to bypass the authorization."
  2679. },
  2680. "648": {
  2681. "title": "Incorrect Use of Privileged APIs",
  2682. "description":
  2683. "The application does not conform to the API requirements for a function call that requires extra privileges. This could allow attackers to gain privileges by causing the function to be called incorrectly."
  2684. },
  2685. "649": {
  2686. "title":
  2687. "Reliance on Obfuscation or Encryption of Security-Relevant Inputs without Integrity Checking",
  2688. "description":
  2689. "The software uses obfuscation or encryption of inputs that should not be mutable by an external actor, but the software does not use integrity checks to detect if those inputs have been modified."
  2690. },
  2691. "65": {
  2692. "title": "Windows Hard Link",
  2693. "description":
  2694. "The software, when opening a file or directory, does not sufficiently handle when the name is associated with a hard link to a target that is outside of the intended control sphere. This could allow an attacker to cause the software to operate on unauthorized files."
  2695. },
  2696. "650": {
  2697. "title": "Trusting HTTP Permission Methods on the Server Side",
  2698. "description":
  2699. "The server contains a protection mechanism that assumes that any URI that is accessed using HTTP GET will not cause a state change to the associated resource. This might allow attackers to bypass intended access restrictions and conduct resource modification and deletion attacks, since some applications allow GET to modify state."
  2700. },
  2701. "651": {
  2702. "title": "Information Exposure Through WSDL File",
  2703. "description":
  2704. "The Web services architecture may require exposing a Web Service Definition Language (WSDL) file that contains information on the publicly accessible services and how callers of these services should interact with them (e.g. what parameters they expect and what types they return)."
  2705. },
  2706. "652": {
  2707. "title": "Improper Neutralization of Data within XQuery Expressions ('XQuery Injection')",
  2708. "description":
  2709. "The software uses external input to dynamically construct an XQuery expression used to retrieve data from an XML database, but it does not neutralize or incorrectly neutralizes that input. This allows an attacker to control the structure of the query."
  2710. },
  2711. "653": {
  2712. "title": "Insufficient Compartmentalization",
  2713. "description":
  2714. "The product does not sufficiently compartmentalize functionality or processes that require different privilege levels, rights, or permissions."
  2715. },
  2716. "654": {
  2717. "title": "Reliance on a Single Factor in a Security Decision",
  2718. "description":
  2719. "A protection mechanism relies exclusively, or to a large extent, on the evaluation of a single condition or the integrity of a single object or entity in order to make a decision about granting access to restricted resources or functionality."
  2720. },
  2721. "655": {
  2722. "title": "Insufficient Psychological Acceptability",
  2723. "description":
  2724. "The software has a protection mechanism that is too difficult or inconvenient to use, encouraging non-malicious users to disable or bypass the mechanism, whether by accident or on purpose."
  2725. },
  2726. "656": {
  2727. "title": "Reliance on Security Through Obscurity",
  2728. "description":
  2729. "The software uses a protection mechanism whose strength depends heavily on its obscurity, such that knowledge of its algorithms or key data is sufficient to defeat the mechanism."
  2730. },
  2731. "657": {
  2732. "title": "Violation of Secure Design Principles",
  2733. "description": "The product violates well-established principles for secure design."
  2734. },
  2735. "66": {
  2736. "title": "Improper Handling of File Names that Identify Virtual Resources",
  2737. "description":
  2738. "The product does not handle or incorrectly handles a file name that identifies a virtual resource that is not directly specified within the directory that is associated with the file name, causing the product to perform file-based operations on a resource that is not a file."
  2739. },
  2740. "662": {
  2741. "title": "Improper Synchronization",
  2742. "description":
  2743. "The software attempts to use a shared resource in an exclusive manner, but does not prevent or incorrectly prevents use of the resource by another thread or process."
  2744. },
  2745. "663": {
  2746. "title": "Use of a Non-reentrant Function in a Concurrent Context",
  2747. "description":
  2748. "The software calls a non-reentrant function in a concurrent context in which a competing code sequence (e.g. thread or signal handler) may have an opportunity to call the same function or otherwise influence its state."
  2749. },
  2750. "664": {
  2751. "title": "Improper Control of a Resource Through its Lifetime",
  2752. "description":
  2753. "The software does not maintain or incorrectly maintains control over a resource throughout its lifetime of creation, use, and release."
  2754. },
  2755. "665": {
  2756. "title": "Improper Initialization",
  2757. "description":
  2758. "The software does not initialize or incorrectly initializes a resource, which might leave the resource in an unexpected state when it is accessed or used."
  2759. },
  2760. "666": {
  2761. "title": "Operation on Resource in Wrong Phase of Lifetime",
  2762. "description":
  2763. "The software performs an operation on a resource at the wrong phase of the resource's lifecycle, which can lead to unexpected behaviors."
  2764. },
  2765. "667": {
  2766. "title": "Improper Locking",
  2767. "description":
  2768. "The software does not properly acquire a lock on a resource, or it does not properly release a lock on a resource, leading to unexpected resource state changes and behaviors."
  2769. },
  2770. "668": {
  2771. "title": "Exposure of Resource to Wrong Sphere",
  2772. "description":
  2773. "The product exposes a resource to the wrong control sphere, providing unintended actors with inappropriate access to the resource."
  2774. },
  2775. "669": {
  2776. "title": "Incorrect Resource Transfer Between Spheres",
  2777. "description":
  2778. "The product does not properly transfer a resource/behavior to another sphere, or improperly imports a resource/behavior from another sphere, in a manner that provides unintended control over that resource."
  2779. },
  2780. "67": {
  2781. "title": "Improper Handling of Windows Device Names",
  2782. "description":
  2783. "The software constructs pathnames from user input, but it does not handle or incorrectly handles a pathname containing a Windows device name such as AUX or CON. This typically leads to denial of service or an information exposure when the application attempts to process the pathname as a regular file."
  2784. },
  2785. "670": {
  2786. "title": "Always-Incorrect Control Flow Implementation",
  2787. "description":
  2788. "The code contains a control flow path that does not reflect the algorithm that the path is intended to implement, leading to incorrect behavior any time this path is navigated."
  2789. },
  2790. "671": {
  2791. "title": "Lack of Administrator Control over Security",
  2792. "description":
  2793. "The product uses security features in a way that prevents the product's administrator from tailoring security settings to reflect the environment in which the product is being used. This introduces resultant weaknesses or prevents it from operating at a level of security that is desired by the administrator."
  2794. },
  2795. "672": {
  2796. "title": "Operation on a Resource after Expiration or Release",
  2797. "description":
  2798. "The software uses, accesses, or otherwise operates on a resource after that resource has been expired, released, or revoked."
  2799. },
  2800. "673": {
  2801. "title": "External Influence of Sphere Definition",
  2802. "description":
  2803. "The product does not prevent the definition of control spheres from external actors."
  2804. },
  2805. "674": {
  2806. "title": "Uncontrolled Recursion",
  2807. "description":
  2808. "The product does not properly control the amount of recursion that takes place, which consumes excessive resources, such as allocated memory or the program stack."
  2809. },
  2810. "675": {
  2811. "title": "Duplicate Operations on Resource",
  2812. "description":
  2813. "The product performs the same operation on a resource two or more times, when the operation should only be applied once."
  2814. },
  2815. "676": {
  2816. "title": "Use of Potentially Dangerous Function",
  2817. "description":
  2818. "The program invokes a potentially dangerous function that could introduce a vulnerability if it is used incorrectly, but the function can also be used safely."
  2819. },
  2820. "680": {
  2821. "title": "Integer Overflow to Buffer Overflow",
  2822. "description":
  2823. "The product performs a calculation to determine how much memory to allocate, but an integer overflow can occur that causes less memory to be allocated than expected, leading to a buffer overflow."
  2824. },
  2825. "681": {
  2826. "title": "Incorrect Conversion between Numeric Types",
  2827. "description":
  2828. "When converting from one data type to another, such as long to integer, data can be omitted or translated in a way that produces unexpected values. If the resulting values are used in a sensitive context, then dangerous behaviors may occur."
  2829. },
  2830. "682": {
  2831. "title": "Incorrect Calculation",
  2832. "description":
  2833. "The software performs a calculation that generates incorrect or unintended results that are later used in security-critical decisions or resource management."
  2834. },
  2835. "683": {
  2836. "title": "Function Call With Incorrect Order of Arguments",
  2837. "description":
  2838. "The software calls a function, procedure, or routine, but the caller specifies the arguments in an incorrect order, leading to resultant weaknesses."
  2839. },
  2840. "684": {
  2841. "title": "Incorrect Provision of Specified Functionality",
  2842. "description":
  2843. "The code does not function according to its published specifications, potentially leading to incorrect usage."
  2844. },
  2845. "685": {
  2846. "title": "Function Call With Incorrect Number of Arguments",
  2847. "description":
  2848. "The software calls a function, procedure, or routine, but the caller specifies too many arguments, or too few arguments, which may lead to undefined behavior and resultant weaknesses."
  2849. },
  2850. "686": {
  2851. "title": "Function Call With Incorrect Argument Type",
  2852. "description":
  2853. "The software calls a function, procedure, or routine, but the caller specifies an argument that is the wrong data type, which may lead to resultant weaknesses."
  2854. },
  2855. "687": {
  2856. "title": "Function Call With Incorrectly Specified Argument Value",
  2857. "description":
  2858. "The software calls a function, procedure, or routine, but the caller specifies an argument that contains the wrong value, which may lead to resultant weaknesses."
  2859. },
  2860. "688": {
  2861. "title": "Function Call With Incorrect Variable or Reference as Argument",
  2862. "description":
  2863. "The software calls a function, procedure, or routine, but the caller specifies the wrong variable or reference as one of the arguments, which may lead to undefined behavior and resultant weaknesses."
  2864. },
  2865. "689": {
  2866. "title": "Permission Race Condition During Resource Copy",
  2867. "description":
  2868. "The product, while copying or cloning a resource, does not set the resource's permissions or access control until the copy is complete, leaving the resource exposed to other spheres while the copy is taking place."
  2869. },
  2870. "69": {
  2871. "title": "Improper Handling of Windows ::DATA Alternate Data Stream",
  2872. "description":
  2873. "The software does not properly prevent access to, or detect usage of, alternate data streams (ADS)."
  2874. },
  2875. "690": {
  2876. "title": "Unchecked Return Value to NULL Pointer Dereference",
  2877. "description":
  2878. "The product does not check for an error after calling a function that can return with a NULL pointer if the function fails, which leads to a resultant NULL pointer dereference."
  2879. },
  2880. "691": {
  2881. "title": "Insufficient Control Flow Management",
  2882. "description":
  2883. "The code does not sufficiently manage its control flow during execution, creating conditions in which the control flow can be modified in unexpected ways."
  2884. },
  2885. "692": {
  2886. "title": "Incomplete Blacklist to Cross-Site Scripting",
  2887. "description":
  2888. "The product uses a blacklist-based protection mechanism to defend against XSS attacks, but the blacklist is incomplete, allowing XSS variants to succeed."
  2889. },
  2890. "693": {
  2891. "title": "Protection Mechanism Failure",
  2892. "description":
  2893. "The product does not use or incorrectly uses a protection mechanism that provides sufficient defense against directed attacks against the product."
  2894. },
  2895. "694": {
  2896. "title": "Use of Multiple Resources with Duplicate Identifier",
  2897. "description":
  2898. "The software uses multiple resources that can have the same identifier, in a context in which unique identifiers are required."
  2899. },
  2900. "695": {
  2901. "title": "Use of Low-Level Functionality",
  2902. "description":
  2903. "The software uses low-level functionality that is explicitly prohibited by the framework or specification under which the software is supposed to operate."
  2904. },
  2905. "696": {
  2906. "title": "Incorrect Behavior Order",
  2907. "description":
  2908. "The software performs multiple related behaviors, but the behaviors are performed in the wrong order in ways which may produce resultant weaknesses."
  2909. },
  2910. "697": {
  2911. "title": "Incorrect Comparison",
  2912. "description":
  2913. "The software compares two entities in a security-relevant context, but the comparison is incorrect, which may lead to resultant weaknesses."
  2914. },
  2915. "698": {
  2916. "title": "Execution After Redirect (EAR)",
  2917. "description":
  2918. "The web application sends a redirect to another location, but instead of exiting, it executes additional code."
  2919. },
  2920. "7": {
  2921. "title": "J2EE Misconfiguration: Missing Custom Error Page",
  2922. "description":
  2923. "The default error page of a web application should not display sensitive information about the software system."
  2924. },
  2925. "703": {
  2926. "title": "Improper Check or Handling of Exceptional Conditions",
  2927. "description":
  2928. "The software does not properly anticipate or handle exceptional conditions that rarely occur during normal operation of the software."
  2929. },
  2930. "704": {
  2931. "title": "Incorrect Type Conversion or Cast",
  2932. "description":
  2933. "The software does not correctly convert an object, resource, or structure from one type to a different type."
  2934. },
  2935. "705": {
  2936. "title": "Incorrect Control Flow Scoping",
  2937. "description":
  2938. "The software does not properly return control flow to the proper location after it has completed a task or detected an unusual condition."
  2939. },
  2940. "706": {
  2941. "title": "Use of Incorrectly-Resolved Name or Reference",
  2942. "description":
  2943. "The software uses a name or reference to access a resource, but the name/reference resolves to a resource that is outside of the intended control sphere."
  2944. },
  2945. "707": {
  2946. "title": "Improper Enforcement of Message or Data Structure",
  2947. "description":
  2948. "The software does not enforce or incorrectly enforces that structured messages or data are well-formed before being read from an upstream component or sent to a downstream component."
  2949. },
  2950. "708": {
  2951. "title": "Incorrect Ownership Assignment",
  2952. "description":
  2953. "The software assigns an owner to a resource, but the owner is outside of the intended control sphere."
  2954. },
  2955. "710": {
  2956. "title": "Improper Adherence to Coding Standards",
  2957. "description":
  2958. "The software does not follow certain coding rules for development, which can lead to resultant weaknesses or increase the severity of the associated vulnerabilities."
  2959. },
  2960. "72": {
  2961. "title": "Improper Handling of Apple HFS+ Alternate Data Stream Path",
  2962. "description":
  2963. "The software does not properly handle special paths that may identify the data or resource fork of a file on the HFS+ file system."
  2964. },
  2965. "73": {
  2966. "title": "External Control of File Name or Path",
  2967. "description":
  2968. "The software allows user input to control or influence paths or file names that are used in filesystem operations."
  2969. },
  2970. "732": {
  2971. "title": "Incorrect Permission Assignment for Critical Resource",
  2972. "description":
  2973. "The software specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors."
  2974. },
  2975. "733": {
  2976. "title": "Compiler Optimization Removal or Modification of Security-critical Code",
  2977. "description":
  2978. "The developer builds a security-critical protection mechanism into the software, but the compiler optimizes the program such that the mechanism is removed or modified."
  2979. },
  2980. "74": {
  2981. "title":
  2982. "Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')",
  2983. "description":
  2984. "The software constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component."
  2985. },
  2986. "749": {
  2987. "title": "Exposed Dangerous Method or Function",
  2988. "description":
  2989. "The software provides an Applications Programming Interface (API) or similar interface for interaction with external actors, but the interface includes a dangerous method or function that is not properly restricted."
  2990. },
  2991. "75": {
  2992. "title":
  2993. "Failure to Sanitize Special Elements into a Different Plane (Special Element Injection)",
  2994. "description":
  2995. "The software does not adequately filter user-controlled input for special elements with control implications."
  2996. },
  2997. "754": {
  2998. "title": "Improper Check for Unusual or Exceptional Conditions",
  2999. "description":
  3000. "The software does not check or improperly checks for unusual or exceptional conditions that are not expected to occur frequently during day to day operation of the software."
  3001. },
  3002. "755": {
  3003. "title": "Improper Handling of Exceptional Conditions",
  3004. "description": "The software does not handle or incorrectly handles an exceptional condition."
  3005. },
  3006. "756": {
  3007. "title": "Missing Custom Error Page",
  3008. "description":
  3009. "The software does not return custom error pages to the user, possibly exposing sensitive information."
  3010. },
  3011. "757": {
  3012. "title": "Selection of Less-Secure Algorithm During Negotiation ('Algorithm Downgrade')",
  3013. "description":
  3014. "A protocol or its implementation supports interaction between multiple actors and allows those actors to negotiate which algorithm should be used as a protection mechanism such as encryption or authentication, but it does not select the strongest algorithm that is available to both parties."
  3015. },
  3016. "758": {
  3017. "title": "Reliance on Undefined, Unspecified, or Implementation-Defined Behavior",
  3018. "description":
  3019. "The software uses an API function, data structure, or other entity in a way that relies on properties that are not always guaranteed to hold for that entity."
  3020. },
  3021. "759": {
  3022. "title": "Use of a One-Way Hash without a Salt",
  3023. "description":
  3024. "The software uses a one-way cryptographic hash against an input that should not be reversible, such as a password, but the software does not also use a salt as part of the input."
  3025. },
  3026. "76": {
  3027. "title": "Improper Neutralization of Equivalent Special Elements",
  3028. "description":
  3029. "The software properly neutralizes certain special elements, but it improperly neutralizes equivalent special elements."
  3030. },
  3031. "760": {
  3032. "title": "Use of a One-Way Hash with a Predictable Salt",
  3033. "description":
  3034. "The software uses a one-way cryptographic hash against an input that should not be reversible, such as a password, but the software uses a predictable salt as part of the input."
  3035. },
  3036. "761": {
  3037. "title": "Free of Pointer not at Start of Buffer",
  3038. "description":
  3039. "The application calls free() on a pointer to a memory resource that was allocated on the heap, but the pointer is not at the start of the buffer."
  3040. },
  3041. "762": {
  3042. "title": "Mismatched Memory Management Routines",
  3043. "description":
  3044. "The application attempts to return a memory resource to the system, but it calls a release function that is not compatible with the function that was originally used to allocate that resource."
  3045. },
  3046. "763": {
  3047. "title": "Release of Invalid Pointer or Reference",
  3048. "description":
  3049. "The application attempts to return a memory resource to the system, but calls the wrong release function or calls the appropriate release function incorrectly."
  3050. },
  3051. "764": {
  3052. "title": "Multiple Locks of a Critical Resource",
  3053. "description":
  3054. "The software locks a critical resource more times than intended, leading to an unexpected state in the system."
  3055. },
  3056. "765": {
  3057. "title": "Multiple Unlocks of a Critical Resource",
  3058. "description":
  3059. "The software unlocks a critical resource more times than intended, leading to an unexpected state in the system."
  3060. },
  3061. "766": {
  3062. "title": "Critical Variable Declared Public",
  3063. "description":
  3064. "The software declares a critical variable or field to be public when intended security policy requires it to be private."
  3065. },
  3066. "767": {
  3067. "title": "Access to Critical Private Variable via Public Method",
  3068. "description":
  3069. "The software defines a public method that reads or modifies a private variable."
  3070. },
  3071. "768": {
  3072. "title": "Incorrect Short Circuit Evaluation",
  3073. "description":
  3074. "The software contains a conditional statement with multiple logical expressions in which one of the non-leading expressions may produce side effects. This may lead to an unexpected state in the program after the execution of the conditional, because short-circuiting logic may prevent the side effects from occurring."
  3075. },
  3076. "769": {
  3077. "title": "Uncontrolled File Descriptor Consumption",
  3078. "description":
  3079. "The software does not properly limit the number of open file descriptors that it uses."
  3080. },
  3081. "77": {
  3082. "title":
  3083. "Improper Neutralization of Special Elements used in a Command ('Command Injection')",
  3084. "description":
  3085. "The software constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component."
  3086. },
  3087. "770": {
  3088. "title": "Allocation of Resources Without Limits or Throttling",
  3089. "description":
  3090. "The software allocates a reusable resource or group of resources on behalf of an actor without imposing any restrictions on how many resources can be allocated, in violation of the intended security policy for that actor."
  3091. },
  3092. "771": {
  3093. "title": "Missing Reference to Active Allocated Resource",
  3094. "description":
  3095. "The software does not properly maintain a reference to a resource that has been allocated, which prevents the resource from being reclaimed."
  3096. },
  3097. "772": {
  3098. "title": "Missing Release of Resource after Effective Lifetime",
  3099. "description":
  3100. "The software does not release a resource after its effective lifetime has ended, i.e., after the resource is no longer needed."
  3101. },
  3102. "773": {
  3103. "title": "Missing Reference to Active File Descriptor or Handle",
  3104. "description":
  3105. "The software does not properly maintain references to a file descriptor or handle, which prevents that file descriptor/handle from being reclaimed."
  3106. },
  3107. "774": {
  3108. "title": "Allocation of File Descriptors or Handles Without Limits or Throttling",
  3109. "description":
  3110. "The software allocates file descriptors or handles on behalf of an actor without imposing any restrictions on how many descriptors can be allocated, in violation of the intended security policy for that actor."
  3111. },
  3112. "775": {
  3113. "title": "Missing Release of File Descriptor or Handle after Effective Lifetime",
  3114. "description":
  3115. "The software does not release a file descriptor or handle after its effective lifetime has ended, i.e., after the file descriptor/handle is no longer needed."
  3116. },
  3117. "776": {
  3118. "title":
  3119. "Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion')",
  3120. "description":
  3121. "The software uses XML documents and allows their structure to be defined with a Document Type Definition (DTD), but it does not properly control the number of recursive definitions of entities."
  3122. },
  3123. "777": {
  3124. "title": "Regular Expression without Anchors",
  3125. "description":
  3126. "The software uses a regular expression to perform neutralization, but the regular expression is not anchored and may allow malicious or malformed data to slip through."
  3127. },
  3128. "778": {
  3129. "title": "Insufficient Logging",
  3130. "description":
  3131. "When a security-critical event occurs, the software either does not record the event or omits important details about the event when logging it."
  3132. },
  3133. "779": {
  3134. "title": "Logging of Excessive Data",
  3135. "description":
  3136. "The software logs too much information, making log files hard to process and possibly hindering recovery efforts or forensic analysis after an attack."
  3137. },
  3138. "78": {
  3139. "title":
  3140. "Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')",
  3141. "description":
  3142. "The software constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component."
  3143. },
  3144. "780": {
  3145. "title": "Use of RSA Algorithm without OAEP",
  3146. "description":
  3147. "The software uses the RSA algorithm but does not incorporate Optimal Asymmetric Encryption Padding (OAEP), which might weaken the encryption."
  3148. },
  3149. "781": {
  3150. "title": "Improper Address Validation in IOCTL with METHOD_NEITHER I/O Control Code",
  3151. "description":
  3152. "The software defines an IOCTL that uses METHOD_NEITHER for I/O, but it does not validate or incorrectly validates the addresses that are provided."
  3153. },
  3154. "782": {
  3155. "title": "Exposed IOCTL with Insufficient Access Control",
  3156. "description":
  3157. "The software implements an IOCTL with functionality that should be restricted, but it does not properly enforce access control for the IOCTL."
  3158. },
  3159. "783": {
  3160. "title": "Operator Precedence Logic Error",
  3161. "description":
  3162. "The program uses an expression in which operator precedence causes incorrect logic to be used."
  3163. },
  3164. "784": {
  3165. "title":
  3166. "Reliance on Cookies without Validation and Integrity Checking in a Security Decision",
  3167. "description":
  3168. "The application uses a protection mechanism that relies on the existence or values of a cookie, but it does not properly ensure that the cookie is valid for the associated user."
  3169. },
  3170. "785": {
  3171. "title": "Use of Path Manipulation Function without Maximum-sized Buffer",
  3172. "description":
  3173. "The software invokes a function for normalizing paths or file names, but it provides an output buffer that is smaller than the maximum possible size, such as PATH_MAX."
  3174. },
  3175. "786": {
  3176. "title": "Access of Memory Location Before Start of Buffer",
  3177. "description":
  3178. "The software reads or writes to a buffer using an index or pointer that references a memory location prior to the beginning of the buffer."
  3179. },
  3180. "787": {
  3181. "title": "Out-of-bounds Write",
  3182. "description":
  3183. "The software writes data past the end, or before the beginning, of the intended buffer."
  3184. },
  3185. "788": {
  3186. "title": "Access of Memory Location After End of Buffer",
  3187. "description":
  3188. "The software reads or writes to a buffer using an index or pointer that references a memory location after the end of the buffer."
  3189. },
  3190. "789": {
  3191. "title": "Uncontrolled Memory Allocation",
  3192. "description":
  3193. "The product allocates memory based on an untrusted size value, but it does not validate or incorrectly validates the size, allowing arbitrary amounts of memory to be allocated."
  3194. },
  3195. "79": {
  3196. "title":
  3197. "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
  3198. "description":
  3199. "The software does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users."
  3200. },
  3201. "790": {
  3202. "title": "Improper Filtering of Special Elements",
  3203. "description":
  3204. "The software receives data from an upstream component, but does not filter or incorrectly filters special elements before sending it to a downstream component."
  3205. },
  3206. "791": {
  3207. "title": "Incomplete Filtering of Special Elements",
  3208. "description":
  3209. "The software receives data from an upstream component, but does not completely filter special elements before sending it to a downstream component."
  3210. },
  3211. "792": {
  3212. "title": "Incomplete Filtering of One or More Instances of Special Elements",
  3213. "description":
  3214. "The software receives data from an upstream component, but does not completely filter one or more instances of special elements before sending it to a downstream component."
  3215. },
  3216. "793": {
  3217. "title": "Only Filtering One Instance of a Special Element",
  3218. "description":
  3219. "The software receives data from an upstream component, but only filters a single instance of a special element before sending it to a downstream component."
  3220. },
  3221. "794": {
  3222. "title": "Incomplete Filtering of Multiple Instances of Special Elements",
  3223. "description":
  3224. "The software receives data from an upstream component, but does not filter all instances of a special element before sending it to a downstream component."
  3225. },
  3226. "795": {
  3227. "title": "Only Filtering Special Elements at a Specified Location",
  3228. "description":
  3229. "The software receives data from an upstream component, but only accounts for special elements at a specified location, thereby missing remaining special elements that may exist before sending it to a downstream component."
  3230. },
  3231. "796": {
  3232. "title": "Only Filtering Special Elements Relative to a Marker",
  3233. "description":
  3234. "The software receives data from an upstream component, but only accounts for special elements positioned relative to a marker (e.g. at the beginning/end of a string; the second argument), thereby missing remaining special elements that may exist before sending it to a downstream component."
  3235. },
  3236. "797": {
  3237. "title": "Only Filtering Special Elements at an Absolute Position",
  3238. "description":
  3239. "The software receives data from an upstream component, but only accounts for special elements at an absolute position (e.g. byte number 10), thereby missing remaining special elements that may exist before sending it to a downstream component."
  3240. },
  3241. "798": {
  3242. "title": "Use of Hard-coded Credentials",
  3243. "description":
  3244. "The software contains hard-coded credentials, such as a password or cryptographic key, which it uses for its own inbound authentication, outbound communication to external components, or encryption of internal data."
  3245. },
  3246. "799": {
  3247. "title": "Improper Control of Interaction Frequency",
  3248. "description":
  3249. "The software does not properly limit the number or frequency of interactions that it has with an actor, such as the number of incoming requests."
  3250. },
  3251. "8": {
  3252. "title": "J2EE Misconfiguration: Entity Bean Declared Remote",
  3253. "description":
  3254. "When an application exposes a remote interface for an entity bean, it might also expose methods that get or set the bean's data. These methods could be leveraged to read sensitive information, or to change data in ways that violate the application's expectations, potentially leading to other vulnerabilities."
  3255. },
  3256. "80": {
  3257. "title": "Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)",
  3258. "description":
  3259. "The software receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special characters such as <, >, and & that could be interpreted as web-scripting elements when they are sent to a downstream component that processes web pages."
  3260. },
  3261. "804": {
  3262. "title": "Guessable CAPTCHA",
  3263. "description":
  3264. "The software uses a CAPTCHA challenge, but the challenge can be guessed or automatically recognized by a non-human actor."
  3265. },
  3266. "805": {
  3267. "title": "Buffer Access with Incorrect Length Value",
  3268. "description":
  3269. "The software uses a sequential operation to read or write a buffer, but it uses an incorrect length value that causes it to access memory that is outside of the bounds of the buffer."
  3270. },
  3271. "806": {
  3272. "title": "Buffer Access Using Size of Source Buffer",
  3273. "description":
  3274. "The software uses the size of a source buffer when reading from or writing to a destination buffer, which may cause it to access memory that is outside of the bounds of the buffer."
  3275. },
  3276. "807": {
  3277. "title": "Reliance on Untrusted Inputs in a Security Decision",
  3278. "description":
  3279. "The application uses a protection mechanism that relies on the existence or values of an input, but the input can be modified by an untrusted actor in a way that bypasses the protection mechanism."
  3280. },
  3281. "81": {
  3282. "title": "Improper Neutralization of Script in an Error Message Web Page",
  3283. "description":
  3284. "The software receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special characters that could be interpreted as web-scripting elements when they are sent to an error page."
  3285. },
  3286. "82": {
  3287. "title": "Improper Neutralization of Script in Attributes of IMG Tags in a Web Page",
  3288. "description":
  3289. "The web application does not neutralize or incorrectly neutralizes scripting elements within attributes of HTML IMG tags, such as the src attribute."
  3290. },
  3291. "820": {
  3292. "title": "Missing Synchronization",
  3293. "description":
  3294. "The software utilizes a shared resource in a concurrent manner but does not attempt to synchronize access to the resource."
  3295. },
  3296. "821": {
  3297. "title": "Incorrect Synchronization",
  3298. "description":
  3299. "The software utilizes a shared resource in a concurrent manner but it does not correctly synchronize access to the resource."
  3300. },
  3301. "822": {
  3302. "title": "Untrusted Pointer Dereference",
  3303. "description":
  3304. "The program obtains a value from an untrusted source, converts this value to a pointer, and dereferences the resulting pointer."
  3305. },
  3306. "823": {
  3307. "title": "Use of Out-of-range Pointer Offset",
  3308. "description":
  3309. "The program performs pointer arithmetic on a valid pointer, but it uses an offset that can point outside of the intended range of valid memory locations for the resulting pointer."
  3310. },
  3311. "824": {
  3312. "title": "Access of Uninitialized Pointer",
  3313. "description": "The program accesses or uses a pointer that has not been initialized."
  3314. },
  3315. "825": {
  3316. "title": "Expired Pointer Dereference",
  3317. "description":
  3318. "The program dereferences a pointer that contains a location for memory that was previously valid, but is no longer valid."
  3319. },
  3320. "826": {
  3321. "title": "Premature Release of Resource During Expected Lifetime",
  3322. "description":
  3323. "The program releases a resource that is still intended to be used by the program itself or another actor."
  3324. },
  3325. "827": {
  3326. "title": "Improper Control of Document Type Definition",
  3327. "description":
  3328. "The software does not restrict a reference to a Document Type Definition (DTD) to the intended control sphere. This might allow attackers to reference arbitrary DTDs, possibly causing the software to expose files, consume excessive system resources, or execute arbitrary http requests on behalf of the attacker."
  3329. },
  3330. "828": {
  3331. "title": "Signal Handler with Functionality that is not Asynchronous-Safe",
  3332. "description":
  3333. "The software defines a signal handler that contains code sequences that are not asynchronous-safe, i.e., the functionality is not reentrant, or it can be interrupted."
  3334. },
  3335. "829": {
  3336. "title": "Inclusion of Functionality from Untrusted Control Sphere",
  3337. "description":
  3338. "The software imports, requires, or includes executable functionality (such as a library) from a source that is outside of the intended control sphere."
  3339. },
  3340. "83": {
  3341. "title": "Improper Neutralization of Script in Attributes in a Web Page",
  3342. "description":
  3343. "The software does not neutralize or incorrectly neutralizes javascript: or other URIs from dangerous attributes within tags, such as onmouseover, onload, onerror, or style."
  3344. },
  3345. "830": {
  3346. "title": "Inclusion of Web Functionality from an Untrusted Source",
  3347. "description":
  3348. "The software includes web functionality (such as a web widget) from another domain, which causes it to operate within the domain of the software, potentially granting total access and control of the software to the untrusted source."
  3349. },
  3350. "831": {
  3351. "title": "Signal Handler Function Associated with Multiple Signals",
  3352. "description":
  3353. "The software defines a function that is used as a handler for more than one signal."
  3354. },
  3355. "832": {
  3356. "title": "Unlock of a Resource that is not Locked",
  3357. "description": "The software attempts to unlock a resource that is not locked."
  3358. },
  3359. "833": {
  3360. "title": "Deadlock",
  3361. "description":
  3362. "The software contains multiple threads or executable segments that are waiting for each other to release a necessary lock, resulting in deadlock."
  3363. },
  3364. "834": {
  3365. "title": "Excessive Iteration",
  3366. "description":
  3367. "The software performs an iteration or loop without sufficiently limiting the number of times that the loop is executed."
  3368. },
  3369. "835": {
  3370. "title": "Loop with Unreachable Exit Condition ('Infinite Loop')",
  3371. "description":
  3372. "The program contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop."
  3373. },
  3374. "836": {
  3375. "title": "Use of Password Hash Instead of Password for Authentication",
  3376. "description":
  3377. "The software records password hashes in a data store, receives a hash of a password from a client, and compares the supplied hash to the hash obtained from the data store."
  3378. },
  3379. "837": {
  3380. "title": "Improper Enforcement of a Single, Unique Action",
  3381. "description":
  3382. "The software requires that an actor should only be able to perform an action once, or to have only one unique action, but the software does not enforce or improperly enforces this restriction."
  3383. },
  3384. "838": {
  3385. "title": "Inappropriate Encoding for Output Context",
  3386. "description":
  3387. "The software uses or specifies an encoding when generating output to a downstream component, but the specified encoding is not the same as the encoding that is expected by the downstream component."
  3388. },
  3389. "839": {
  3390. "title": "Numeric Range Comparison Without Minimum Check",
  3391. "description":
  3392. "The program checks a value to ensure that it is less than or equal to a maximum, but it does not also verify that the value is greater than or equal to the minimum."
  3393. },
  3394. "84": {
  3395. "title": "Improper Neutralization of Encoded URI Schemes in a Web Page",
  3396. "description":
  3397. "The web application improperly neutralizes user-controlled input for executable script disguised with URI encodings."
  3398. },
  3399. "841": {
  3400. "title": "Improper Enforcement of Behavioral Workflow",
  3401. "description":
  3402. "The software supports a session in which more than one behavior must be performed by an actor, but it does not properly ensure that the actor performs the behaviors in the required sequence."
  3403. },
  3404. "842": {
  3405. "title": "Placement of User into Incorrect Group",
  3406. "description": "The software or the administrator places a user into an incorrect group."
  3407. },
  3408. "843": {
  3409. "title": "Access of Resource Using Incompatible Type ('Type Confusion')",
  3410. "description":
  3411. "The program allocates or initializes a resource such as a pointer, object, or variable using one type, but it later accesses that resource using a type that is incompatible with the original type."
  3412. },
  3413. "85": {
  3414. "title": "Doubled Character XSS Manipulations",
  3415. "description":
  3416. "The web application does not filter user-controlled input for executable script disguised using doubling of the involved characters."
  3417. },
  3418. "86": {
  3419. "title": "Improper Neutralization of Invalid Characters in Identifiers in Web Pages",
  3420. "description":
  3421. "The software does not neutralize or incorrectly neutralizes invalid characters or byte sequences in the middle of tag names, URI schemes, and other identifiers."
  3422. },
  3423. "862": {
  3424. "title": "Missing Authorization",
  3425. "description":
  3426. "The software does not perform an authorization check when an actor attempts to access a resource or perform an action."
  3427. },
  3428. "863": {
  3429. "title": "Incorrect Authorization",
  3430. "description":
  3431. "The software performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. This allows attackers to bypass intended access restrictions."
  3432. },
  3433. "87": {
  3434. "title": "Improper Neutralization of Alternate XSS Syntax",
  3435. "description":
  3436. "The software does not neutralize or incorrectly neutralizes user-controlled input for alternate script syntax."
  3437. },
  3438. "88": {
  3439. "title": "Argument Injection or Modification",
  3440. "description":
  3441. "The software does not sufficiently delimit the arguments being passed to a component in another control sphere, allowing alternate arguments to be provided, leading to potentially security-relevant changes."
  3442. },
  3443. "89": {
  3444. "title":
  3445. "Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')",
  3446. "description":
  3447. "The software constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component."
  3448. },
  3449. "9": {
  3450. "title": "J2EE Misconfiguration: Weak Access Permissions for EJB Methods",
  3451. "description":
  3452. "If elevated access rights are assigned to EJB methods, then an attacker can take advantage of the permissions to exploit the software system."
  3453. },
  3454. "90": {
  3455. "title":
  3456. "Improper Neutralization of Special Elements used in an LDAP Query ('LDAP Injection')",
  3457. "description":
  3458. "The software constructs all or part of an LDAP query using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended LDAP query when it is sent to a downstream component."
  3459. },
  3460. "908": {
  3461. "title": "Use of Uninitialized Resource",
  3462. "description": "The software uses a resource that has not been properly initialized."
  3463. },
  3464. "909": {
  3465. "title": "Missing Initialization of Resource",
  3466. "description": "The software does not initialize a critical resource."
  3467. },
  3468. "91": {
  3469. "title": "XML Injection (aka Blind XPath Injection)",
  3470. "description":
  3471. "The software does not properly neutralize special elements that are used in XML, allowing attackers to modify the syntax, content, or commands of the XML before it is processed by an end system."
  3472. },
  3473. "910": {
  3474. "title": "Use of Expired File Descriptor",
  3475. "description": "The software uses or accesses a file descriptor after it has been closed."
  3476. },
  3477. "911": {
  3478. "title": "Improper Update of Reference Count",
  3479. "description":
  3480. "The software uses a reference count to manage a resource, but it does not update or incorrectly updates the reference count."
  3481. },
  3482. "912": {
  3483. "title": "Hidden Functionality",
  3484. "description":
  3485. "The software contains functionality that is not documented, not part of the specification, and not accessible through an interface or command sequence that is obvious to the software's users or administrators."
  3486. },
  3487. "913": {
  3488. "title": "Improper Control of Dynamically-Managed Code Resources",
  3489. "description":
  3490. "The software does not properly restrict reading from or writing to dynamically-managed code resources such as variables, objects, classes, attributes, functions, or executable instructions or statements."
  3491. },
  3492. "914": {
  3493. "title": "Improper Control of Dynamically-Identified Variables",
  3494. "description":
  3495. "The software does not properly restrict reading from or writing to dynamically-identified variables."
  3496. },
  3497. "915": {
  3498. "title": "Improperly Controlled Modification of Dynamically-Determined Object Attributes",
  3499. "description":
  3500. "The software receives input from an upstream component that specifies multiple attributes, properties, or fields that are to be initialized or updated in an object, but it does not properly control which attributes can be modified."
  3501. },
  3502. "916": {
  3503. "title": "Use of Password Hash With Insufficient Computational Effort",
  3504. "description":
  3505. "The software generates a hash for a password, but it uses a scheme that does not provide a sufficient level of computational effort that would make password cracking attacks infeasible or expensive."
  3506. },
  3507. "917": {
  3508. "title":
  3509. "Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')",
  3510. "description":
  3511. "The software constructs all or part of an expression language (EL) statement in a Java Server Page (JSP) using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended EL statement before it is executed."
  3512. },
  3513. "918": {
  3514. "title": "Server-Side Request Forgery (SSRF)",
  3515. "description":
  3516. "The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination."
  3517. },
  3518. "920": {
  3519. "title": "Improper Restriction of Power Consumption",
  3520. "description":
  3521. "The software operates in an environment in which power is a limited resource that cannot be automatically replenished, but the software does not properly restrict the amount of power that its operation consumes."
  3522. },
  3523. "921": {
  3524. "title": "Storage of Sensitive Data in a Mechanism without Access Control",
  3525. "description":
  3526. "The software stores sensitive information in a file system or device that does not have built-in access control."
  3527. },
  3528. "922": {
  3529. "title": "Insecure Storage of Sensitive Information",
  3530. "description":
  3531. "The software stores sensitive information without properly limiting read or write access by unauthorized actors."
  3532. },
  3533. "923": {
  3534. "title": "Improper Restriction of Communication Channel to Intended Endpoints",
  3535. "description":
  3536. "The software establishes a communication channel to (or from) an endpoint for privileged or protected operations, but it does not properly ensure that it is communicating with the correct endpoint."
  3537. },
  3538. "924": {
  3539. "title":
  3540. "Improper Enforcement of Message Integrity During Transmission in a Communication Channel",
  3541. "description":
  3542. "The software establishes a communication channel with an endpoint and receives a message from that endpoint, but it does not sufficiently ensure that the message was not modified during transmission."
  3543. },
  3544. "925": {
  3545. "title": "Improper Verification of Intent by Broadcast Receiver",
  3546. "description":
  3547. "The Android application uses a Broadcast Receiver that receives an Intent but does not properly verify that the Intent came from an authorized source."
  3548. },
  3549. "926": {
  3550. "title": "Improper Export of Android Application Components",
  3551. "description":
  3552. "The Android application exports a component for use by other applications, but does not properly restrict which applications can launch the component or access the data it contains."
  3553. },
  3554. "927": {
  3555. "title": "Use of Implicit Intent for Sensitive Communication",
  3556. "description":
  3557. "The Android application uses an implicit intent for transmitting sensitive data to other applications."
  3558. },
  3559. "93": {
  3560. "title": "Improper Neutralization of CRLF Sequences ('CRLF Injection')",
  3561. "description":
  3562. "The software uses CRLF (carriage return line feeds) as a special element, e.g. to separate lines or records, but it does not neutralize or incorrectly neutralizes CRLF sequences from inputs."
  3563. },
  3564. "939": {
  3565. "title": "Improper Authorization in Handler for Custom URL Scheme",
  3566. "description":
  3567. "The software uses a handler for a custom URL scheme, but it does not properly restrict which actors can invoke the handler using the scheme."
  3568. },
  3569. "94": {
  3570. "title": "Improper Control of Generation of Code ('Code Injection')",
  3571. "description":
  3572. "The software constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment."
  3573. },
  3574. "940": {
  3575. "title": "Improper Verification of Source of a Communication Channel",
  3576. "description":
  3577. "The software establishes a communication channel to handle an incoming request that has been initiated by an actor, but it does not properly verify that the request is coming from the expected origin."
  3578. },
  3579. "941": {
  3580. "title": "Incorrectly Specified Destination in a Communication Channel",
  3581. "description":
  3582. "The software creates a communication channel to initiate an outgoing request to an actor, but it does not correctly specify the intended destination for that actor."
  3583. },
  3584. "942": {
  3585. "title": "Overly Permissive Cross-domain Whitelist",
  3586. "description":
  3587. "The software uses a cross-domain policy file that includes domains that should not be trusted."
  3588. },
  3589. "943": {
  3590. "title": "Improper Neutralization of Special Elements in Data Query Logic",
  3591. "description":
  3592. "The application generates a query intended to access or manipulate data in a data store such as a database, but it does not neutralize or incorrectly neutralizes special elements that can modify the intended logic of the query."
  3593. },
  3594. "95": {
  3595. "title":
  3596. "Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')",
  3597. "description":
  3598. "The software receives input from an upstream component, but it does not neutralize or incorrectly neutralizes code syntax before using the input in a dynamic evaluation call (e.g. eval)."
  3599. },
  3600. "96": {
  3601. "title":
  3602. "Improper Neutralization of Directives in Statically Saved Code ('Static Code Injection')",
  3603. "description":
  3604. "The software receives input from an upstream component, but it does not neutralize or incorrectly neutralizes code syntax before inserting the input into an executable resource, such as a library, configuration file, or template."
  3605. },
  3606. "97": {
  3607. "title": "Improper Neutralization of Server-Side Includes (SSI) Within a Web Page",
  3608. "description":
  3609. "The software generates a web page, but does not neutralize or incorrectly neutralizes user-controllable input that could be interpreted as a server-side include (SSI) directive."
  3610. },
  3611. "98": {
  3612. "title":
  3613. "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')",
  3614. "description":
  3615. "The PHP application receives input from an upstream component, but it does not restrict or incorrectly restricts the input before its usage in require, include, or similar functions."
  3616. },
  3617. "99": {
  3618. "title": "Improper Control of Resource Identifiers ('Resource Injection')",
  3619. "description": "The software receives input from an upstream component, but it does not restrict or incorrectly restricts the input before it is used as an identifier for a resource that may be outside the intended sphere of control."
  3620. }
  3621. },
  3622. "sonarsourceSecurity": {
  3623. "buffer-overflow": {
  3624. "title": "Buffer Overflow"
  3625. },
  3626. "sql-injection": {
  3627. "title": "SQL Injection"
  3628. },
  3629. "rce": {
  3630. "title": "Code Injection (RCE)"
  3631. },
  3632. "object-injection": {
  3633. "title": "Object Injection"
  3634. },
  3635. "command-injection": {
  3636. "title": "Command Injection"
  3637. },
  3638. "path-traversal-injection": {
  3639. "title": "Path Traversal Injection"
  3640. },
  3641. "ldap-injection": {
  3642. "title": "LDAP Injection"
  3643. },
  3644. "xpath-injection": {
  3645. "title": "XPath Injection"
  3646. },
  3647. "expression-lang-injection": {
  3648. "title": "Expression Language Injection"
  3649. },
  3650. "log-injection": {
  3651. "title": "Log Injection"
  3652. },
  3653. "xxe": {
  3654. "title": "XML External Entity (XXE)"
  3655. },
  3656. "xss": {
  3657. "title": "Cross-Site Scripting (XSS)"
  3658. },
  3659. "dos": {
  3660. "title": "Denial of Service (DoS)"
  3661. },
  3662. "ssrf": {
  3663. "title": "Server-Side Request Forgery (SSRF)"
  3664. },
  3665. "csrf": {
  3666. "title": "Cross-Site Request Forgery (CSRF)"
  3667. },
  3668. "http-response-splitting": {
  3669. "title": "HTTP Response Splitting"
  3670. },
  3671. "open-redirect": {
  3672. "title": "Open Redirect"
  3673. },
  3674. "weak-cryptography": {
  3675. "title": "Weak Cryptography"
  3676. },
  3677. "auth": {
  3678. "title": "Authentication"
  3679. },
  3680. "insecure-conf": {
  3681. "title": "Insecure Configuration"
  3682. },
  3683. "file-manipulation": {
  3684. "title": "File Manipulation"
  3685. },
  3686. "encrypt-data": {
  3687. "title": "Encryption of Sensitive Data"
  3688. },
  3689. "traceability": {
  3690. "title": "Traceability"
  3691. },
  3692. "others": {
  3693. "title": "Others"
  3694. }
  3695. }
  3696. }