Difference between revisions of "Template:Infobox bug/sandbox"
Jump to navigation
Jump to search
imported>BrandonXLF (Undid revision 884494211 by BrandonXLF (talk)) |
imported>BrandonXLF (Adding CVSS) |
||
| Line 8: | Line 8: | ||
| caption3 = {{{screenshot caption|}}} | | caption3 = {{{screenshot caption|}}} | ||
| 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 | + | | 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}}}}}} |
| − | | label2 = Date discovered | + | | label2 = [[Common Vulnerability Scoring System#Version 2|CVSS v2]] |
| − | | | + | | data2 = {{#if:{{{CCVS2|{{{ccvs2|}}}}}}|{{ubl| |
| − | | | + | {{{CCVS2|{{{ccvs2}}}}}} |
| − | | | + | |{{#if:{{{v2_impact|}}}|Impact score: {{{v2_impact}}}}} |
| − | | | + | |{{#if:{{{v2_exploitability|}}}|Exploitability score: {{{v2_exploitability}}}}} |
| − | | | + | |{{#if:{{{v2_AV|}}}|Attack Vector: {{{v2_AV}}}}} |
| − | | | + | |{{#if:{{{v2_AC|}}}|Attack Complexity: {{{v2_AC}}}}} |
| − | | | + | |{{#if:{{{v2_AU|}}}|Authentication: {{{v2_AU}}}}} |
| − | | | + | |{{#if:{{{v2_C|}}}|Confidentiality: {{{v2_AV}}}}} |
| − | | | + | |{{#if:{{{v2_I|}}}|Integrity: {{{v2_I}}}}} |
| − | | | + | |{{#if:{{{v2_A|}}}|Availability: {{{v2_A}}}}} |
| − | | | + | }}}} |
| − | | | + | | label3 = [[Common Vulnerability Scoring System#Version 2|CVSS v3]] |
| − | | | + | | data3 = {{#if:{{{CCVS3|{{{ccvs3|}}}}}}|{{ubl| |
| + | |{{{CCVS3|{{{ccvs3}}}}}} | ||
| + | |{{#if:{{{v3_impact|}}}|Impact score: {{{v3_impact}}}}} | ||
| + | |{{#if:{{{v3_exploitability|}}}|Exploitability score: {{{v3_exploitability}}}}} | ||
| + | |{{#if:{{{v3_AV|}}}|Attack Vector: {{{v3_AV}}}}} | ||
| + | |{{#if:{{{v3_AC|}}}|Attack Complexity: {{{v3_AC}}}}} | ||
| + | |{{#if:{{{v3_PR|}}}|Privileges Required: {{{v3_PR}}}}} | ||
| + | |{{#if:{{{v3_UI|}}}|User Interaction: {{{v3_UI}}}}} | ||
| + | |{{#if:{{{v3_S|}}}|Scope: {{{v3_S}}}}} | ||
| + | |{{#if:{{{v3_C|}}}|Confidentiality: {{{v3_C}}}}} | ||
| + | |{{#if:{{{v3_I|}}}|Integrity: {{{v3_I}}}}} | ||
| + | |{{#if:{{{v3_A|}}}|Availability: {{{v3_A}}}}} | ||
| + | }}}} | ||
| + | | label4 = Date discovered | ||
| + | | data4 = {{{discovered|}}} | ||
| + | | label5 = Date patched | ||
| + | | data5 = {{{patched|}}} | ||
| + | | label6 = Discovered by | ||
| + | | data6 = {{{discovered by|}}} | ||
| + | | label7 = Affected hardware | ||
| + | | data7 = {{{affected hardware|}}} | ||
| + | | label8 = Affected software | ||
| + | | data8 = {{{affected software|}}} | ||
| + | | label9 = Used by | ||
| + | | data9 = {{{used by|}}} | ||
| + | | label10 = Website | ||
| + | | data10 = {{{website|}}} | ||
}}{{#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 02:05, 22 February 2019
| 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. |