Difference between revisions of "Template:Infobox bug/sandbox"
Jump to navigation
Jump to search
imported>BrandonXLF |
imported>BrandonXLF |
||
| Line 9: | Line 9: | ||
| label1 = [[Common Vulnerabilities and Exposures|CVE identifier{{#ifeq:{{#invoke:String|find|source={{{CVE|{{{cve|}}}}}}|target=%a+%-%d+%-%d+.-%a+%-%d+%-%d+|plain=false}}|0||s}}]] | | label1 = [[Common Vulnerabilities and Exposures|CVE identifier{{#ifeq:{{#invoke:String|find|source={{{CVE|{{{cve|}}}}}}|target=%a+%-%d+%-%d+.-%a+%-%d+%-%d+|plain=false}}|0||s}}]] | ||
| data1 = {{#if:{{{CVE|{{{cve|}}}}}}|{{Plainlist|{{#invoke:String|replace|source={{{CVE|{{{cve}}}}}}|pattern=%a+%-%d+%-%d+|replace=*[https://cve.mitre.org/cgi-bin/cvename.cgi?name=%1 %1]|plain=false}}}}}} | | data1 = {{#if:{{{CVE|{{{cve|}}}}}}|{{Plainlist|{{#invoke:String|replace|source={{{CVE|{{{cve}}}}}}|pattern=%a+%-%d+%-%d+|replace=*[https://cve.mitre.org/cgi-bin/cvename.cgi?name=%1 %1]|plain=false}}}}}} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| label3 = [[Common Vulnerability Scoring System#Version 2|CVSS v3]] | | label3 = [[Common Vulnerability Scoring System#Version 2|CVSS v3]] | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| label4 = Date discovered | | label4 = Date discovered | ||
| data4 = {{{discovered|}}} | | data4 = {{{discovered|}}} | ||
| Line 56: | Line 31: | ||
| label14 = Exploitability score | | label14 = Exploitability score | ||
| data14 = {{{v2_exploitability|}}} | | data14 = {{{v2_exploitability|}}} | ||
| − | | label15 = Attack | + | | label15 = Attack vector |
| data15 = {{{v2_AV|}}} | | data15 = {{{v2_AV|}}} | ||
| − | | label16 = Attack | + | | label16 = Attack complexity: |
| data16 = {{{v2_AC|}}} | | data16 = {{{v2_AC|}}} | ||
| label17 = Authentication | | label17 = Authentication | ||
| Line 68: | Line 43: | ||
| label20 = Availability | | label20 = Availability | ||
| data20 = {{{v2_A|}}} | | data20 = {{{v2_A|}}} | ||
| + | | header21 = [[Common Vulnerability Scoring System#Version 3|CVSS v3]] | ||
| + | | label22 = Base score | ||
| + | | data22 = {{{v3_base|}}} | ||
| + | | label23 = Impact score | ||
| + | | data23 = {{{v3_impact|}}} | ||
| + | | label24 = Exploitability score | ||
| + | | data24 = {{{v3_exploitability|}}} | ||
| + | | label25 = Attack vector | ||
| + | | data25 = {{{v3_AV|}}} | ||
| + | | label26 = Attack complexity | ||
| + | | data26 = {{{v3_AC|}}} | ||
| + | | label27 = Privileges required | ||
| + | | data27 = {{{v3_PR|}}} | ||
| + | | label28 = User interaction | ||
| + | | data28 = {{{v3_UI|}}} | ||
| + | | label29 = Scope | ||
| + | | data29 = {{{v3_S|}}} | ||
| + | | label30 = Confidentiality | ||
| + | | data30 = {{{v3_C|}}} | ||
| + | | label31 = Intercity | ||
| + | | data31 = {{{v3_I|}}} | ||
| + | | label32 = Availability | ||
| + | | data32 = {{{v3_A|}}} | ||
}}{{#invoke:Check for unknown parameters|check|unknown=[[Category:Pages using Template:Infobox bug with unknown parameters]]|name|logo|logo size|logo alt|logo caption|image|image size|image alt|image caption|screenshot|screenshot size|screenshot alt|screenshot caption|CVE|discovered|patched|discovered by|affected hardware|affected software|used by|website}}<noinclude>{{documentation}}</noinclude> | }}{{#invoke:Check for unknown parameters|check|unknown=[[Category:Pages using Template:Infobox bug with unknown parameters]]|name|logo|logo size|logo alt|logo caption|image|image size|image alt|image caption|screenshot|screenshot size|screenshot alt|screenshot caption|CVE|discovered|patched|discovered by|affected hardware|affected software|used by|website}}<noinclude>{{documentation}}</noinclude> | ||
Revision as of 03:30, 22 February 2019
| CVSS v2 | |
|---|---|
| CVSS v3 |
| This is the template sandbox page for Template:Infobox bug (diff). |
| This template uses Lua: |
This infobox is used to add an infobox to article about software bugs, vulnerabilities and security bugs.
Parameters
Template:Parameter names example
| Template:Pre2 | Template:Pre2 |
Example
Logo representing Heartbleed. Security company Codenomicon gave Heartbleed both a name and a logo, contrbuting to public awareness of the issue. | |
| CVE identifier(s) | CVE-2014-0160 |
|---|---|
| Date discovered | Template:Start date and age |
| Date patched | Template:Start date and age |
| Discoverer | Neel Mehta |
| Affected software | OpenSSL (1.0.1) |
| Website | Template:URL |
| Template:Pre2 |
Tracking category
See also
- Template:Virusbox for viruses (sometimes referred to as bugs)
- Template:Taxobox (Template:Automatic taxobox) for viruses, bacteria and small insects (sometimes referred to as bugs)
| The above documentation is transcluded from Template:Infobox bug/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |