Doc: State baseline security assumptions in the shared security model
The Qt Shared Security Model page defines acceptance criteria for
security issues, but doesn't bother stating the assumptions those
criteria quietly depend on. For example, "Issues Qt will not accept"
excludes attackers with access to the application process, but says
nothing about attackers who already control the workstation it runs
on -- as if that distinction didn't matter. Hardware and OS integrity
fare no better, getting a passing mention under "Responsibilities of
operator or device manufacturer" and nothing else.
Add an "Assumptions" section that finally spells out three
preconditions: no attacker already controlling the device or account,
a correctly configured OS and process environment, and genuine
exposed hardware.
Spell out that the device assumption is about an attacker with
pre-existing control of the device or account, not about an
unprivileged local actor (or a file they managed to plant) crossing a
boundary Qt is supposed to maintain -- otherwise every locally
triggerable bug would quietly stop being a bug.
Say "device" throughout instead of "workstation", since this section
already covers embedded devices and device manufacturers, and the
examples were broader than a desktop machine to begin with.
Reuse the "intended purpose and supported conditions of use" phrasing
already established by the private-headers bullet instead of inventing
a second way to say the same thing on the same page.
Define what "crosses a security boundary" actually means -- gives the
attacker privilege, access, or trust they did not already have -- in
both the assumption and the acceptance-criteria bullet that used the
term without defining it, and back the inclusion side with an example
too, not just the exclusion side.
Split hardware genuineness from the data hardware sends: a compromised
peripheral is out of scope, but a malformed packet it sends into a Qt
parser is still Qt's problem.
Pick-to: 6.12 6.11
Change-Id: Ieacb07af6a5c07ea8d3e84f6103918eb36effb6e
Reviewed-by: Gabriel Byman <gabriel.byman@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>