TExcelTAD

Risk Prioritisation

The client can't fix everything at once. A report with twelve findings needs to say which two to fix this week, which five this quarter, and which can wait for the next upgrade, and it needs to say why in terms the client recognises. Severity scores are one input. The others are how likely exploitation is, how exposed the asset is, what the asset is worth to the business, and what already stands in the way. This lesson combines them into a transparent priority, explains each adjustment, and shows the pitfalls of letting a formula decide alone.

The inputs

Input Source Question
Technical severity CVSS v3.1 or v4.0 with the vector how bad if exploited?
Likelihood of exploitation KEV, EPSS, the tester's own validation (was it reachable and working?) will someone try, and can they?
Exposure the attack-surface map: Internet, partner network, internal, isolated who can reach it?
Asset criticality the client: data held, business processes, regulation what does losing it cost?
Compensating controls observed during the test: MFA in front, segmentation, monitoring that fired what already reduces the risk?
Chaining the test itself: does this finding make another one reachable or worse? is it a step on a path to something important?

Risk is commonly described as likelihood × impact. CVSS is mostly an impact-and-ease measure of the vulnerability; the other inputs supply likelihood and business impact for this client.

A transparent priority

A formula is useful as long as every adjustment is visible and a human can overrule it with a written reason. The function below starts from the CVSS base score and applies named adjustments; the findings are the lab engagement's.

python · try it yourself
findings = [
    # id, title, cvss, kev, epss_pct, exposure, asset (1-3), validated, controls, chain_to
    ("F-01", "vsftpd backdoored build on legacy01",   9.8, False, 0.997, "internal", 1, True,  [], None),
    ("F-02", "Jenkins console without authentication", 9.8, False, None,  "vpn",      2, True,  [], "db01"),
    ("F-03", "Shop: invoices of other users (IDOR)",   6.5, False, None,  "internet", 3, True,  [], None),
    ("F-04", "SMB signing not required on files01",    5.9, False, None,  "internal", 2, True,  [], "files01"),
    ("F-05", "Kernel local privesc candidate on www",  7.8, False, 0.88,  "internal", 2, False, ["no shell access found"], None),
    ("F-06", "Payroll scans readable by all staff",    6.5, False, None,  "internal", 3, True,  [], None),
    ("F-07", "Weak SSH algorithms on legacy01",        5.3, False, None,  "internal", 1, True,  [], None),
    ("F-08", "VPN portal: outdated firmware (KEV)",    8.1, True,  0.98,  "internet", 3, False, ["MFA on login"], None),
]
EXPOSURE = {"internet": 1.0, "vpn": 0.5, "internal": 0.0, "isolated": -1.0}

def assess(f):
    fid, title, cvss, kev, pct, exposure, asset, validated, controls, chain = f
    score, why = cvss, [f"CVSS {cvss}"]
    def adj(delta, reason):
        nonlocal score
        score += delta
        why.append(f"{delta:+.1f} {reason}")
    if kev:
        adj(+1.5, "known exploited (KEV)")
    elif pct is not None and pct >= 0.95:
        adj(+0.5, "EPSS top 5 %")
    if EXPOSURE[exposure]:
        adj(EXPOSURE[exposure], f"exposure: {exposure}")
    adj((asset - 2) * 1.0, f"asset criticality {asset}") if asset != 2 else None
    if not validated:
        adj(-1.0, "not validated in this environment")
    for c in controls:
        adj(-0.5, f"control: {c}")
    if chain:
        adj(+1.0, f"chains to {chain}")
    return round(score, 1), why

def bucket(s):
    return "fix in 7 days" if s >= 10 else "fix in 30 days" if s >= 8 else "fix in 90 days" if s >= 6 else "next cycle"

rows = sorted(((assess(f), f) for f in findings), key=lambda r: -r[0][0])
for (score, why), f in rows:
    print(f"{score:>5}  {bucket(score):<15} {f[0]} {f[1]}")
    print(f"       {'; '.join(why)}")
 11.3  fix in 7 days   F-02 Jenkins console without authentication
       CVSS 9.8; +0.5 exposure: vpn; +1.0 chains to db01
 10.1  fix in 7 days   F-08 VPN portal: outdated firmware (KEV)
       CVSS 8.1; +1.5 known exploited (KEV); +1.0 exposure: internet; +1.0 asset criticality 3; -1.0 not validated in this environment; -0.5 control: MFA on login
  9.3  fix in 30 days  F-01 vsftpd backdoored build on legacy01
       CVSS 9.8; +0.5 EPSS top 5 %; -1.0 asset criticality 1
  8.5  fix in 30 days  F-03 Shop: invoices of other users (IDOR)
       CVSS 6.5; +1.0 exposure: internet; +1.0 asset criticality 3
  7.5  fix in 90 days  F-06 Payroll scans readable by all staff
       CVSS 6.5; +1.0 asset criticality 3
  6.9  fix in 90 days  F-04 SMB signing not required on files01
       CVSS 5.9; +1.0 chains to files01
  6.3  fix in 90 days  F-05 Kernel local privesc candidate on www
       CVSS 7.8; -1.0 not validated in this environment; -0.5 control: no shell access found
  4.3  next cycle      F-07 Weak SSH algorithms on legacy01
       CVSS 5.3; -1.0 asset criticality 1

The order differs sharply from the CVSS order, and every move has a stated reason:

  • Jenkins (F-02) comes first: a 9.8 that every VPN user can reach and that chains to the database.
  • The VPN firmware (F-08) rises from an 8.1 to the 7-day bucket: it is known to be exploited, it faces the Internet and it guards a critical asset. It was not validated (firmware flaws are not tested on a production VPN) and MFA helps a little, but MFA doesn't protect against a flaw reached before login.
  • The IDOR in the shop (F-03) is "only" a 6.5, but it is on the Internet and exposes customers' data (criticality 3), so it lands in the 30-day bucket beside findings with much higher CVSS.
  • The backdoored vsftpd (F-01) drops below both despite its 9.8 and its high EPSS, because legacy01 is a lab VM of no business value (asset criticality 1). In a real network a backdoor is an incident, and a human overrides the formula: the report would say "isolate and rebuild now, regardless of score".

The last point is the general rule: the formula proposes, the tester decides and writes the reason down.

How priorities are checked

The client's security team and the system owners review the draft priorities in a read-out meeting. They know things the tester doesn't: a system to be decommissioned next month, a compensating control the tester couldn't see, a regulatory deadline. Disagreements are resolved in writing, and the report records the final priority with both views if they differ.

Pitfalls

  • False precision. A score of 10.3 versus 10.1 means nothing; use buckets and words.
  • Hidden weights. If the client can't see why F-03 outranks F-05, they will argue about the number instead of fixing the bug.
  • Double counting. EPSS already includes signals such as public exploit code; don't also add a separate "exploit exists" bonus.
  • Ignoring chains. Two mediums that combine into a path to the crown jewels are a high, together. Report the chain as its own item.
  • Letting the formula overrule judgement on incidents (a backdoor, signs of a real attacker): those go straight to the client, outside the scoring.

Practice

  1. The client says files01 will be retired in two weeks and its shares moved to a document system with access control. How do F-04 and F-06 change, and what do you write?
  2. Add a "chain" finding: F-04 (no SMB signing) plus a workstation that broadcasts name lookups (LLMNR enabled). Why is the combination higher than each part?
Answers
  1. The technical findings stand, but their remediation becomes "retire as planned; verify the shares' permissions in the new system", and F-06's urgency remains because the payroll scans are exposed now (restrict the share today). Record the client's input and the date in the finding.
  2. Name-resolution poisoning lets an attacker on the network receive authentication attempts from workstations, and missing signing lets those be relayed to files01. Each alone needs the other to matter much; together they are a practical path to the file server. Report the chain with both findings referenced; the fixes (disable LLMNR/NBT-NS, require signing) are covered in the Windows and AD course.

Test yourself

Which inputs does risk prioritisation add to CVSS?

  1. None; CVSS is the priority
  2. Likelihood of exploitation, exposure, asset criticality, compensating controls and chaining
  3. Only the CVE year
  4. The tester's hours

Why does the 6.5 IDOR in the shop share the 30-day bucket with the 9.8 vsftpd finding and rank above the 7.8 kernel finding?

  1. IDORs are always critical
  2. It is Internet-facing and exposes customer data, the most critical asset
  3. Its CVSS is wrong
  4. It was found first

The formula ranks a backdoored binary low because the host has little value. What should the tester do?

  1. Follow the formula
  2. Override it with a written reason: a backdoor is an incident and goes to the client immediately
  3. Delete the finding
  4. Raise the CVSS to 10

Two medium findings combine into a path to the database. How should they be reported?

  1. As two mediums only
  2. As a chain with its own, higher priority, referencing both findings
  3. Not at all
  4. As one finding, deleting the other