Failed Avenues (Forgery, Donor, XXE)
Failed Avenues
1. Self-signed / forged license
Replaced the
SignatureValue/cert with a self-signed key and recomputed the digest.
Result:
LIC017.
xmlsec only accepts a key chaining to Dell's CA, so the
signature cannot be forged without Dell's private key.
2. iDRAC7 donor
The genuine iDRAC7 Enterprise license (
9QYZF42, Entitlement
DE00000009660549)
is signed and perpetual, but the iDRAC8 rejects it with
LIC010
("not for the specified device") — the product/device-class check fires before
any tag binding.
3. 240-day eval
iDRAC8_Enterprise_Extended_Eval_License.xml (Entitlement
DE436f7669643230,
) imports as
LIC009
("The license upgrade was unsuccessful"), with or without
licenseForce, even
after deleting the expired eval. Dell's KB also states a trial license can only
be imported once per product.
4. XXE / parse-vs-verify TOCTOU
Design: the verifier and the struct parser parse the license separately.
Serve the verifier
(digest still matches) and the parser
, by making the DTD content change between the two fetches.
UTF-16 DOCTYPE bypass: the
%d;
]>
... ...
Controls that worked on hardware:
donor_utf16.xml →
LIC010 (UTF-16 accepted).
donor_utf16_doctype.xml →
LIC010 (DOCTYPE hidden from the scan).
donor_utf16_pe_internal.xml →
LIC010 (internal parameter entity + attribute
entity expansion works).
What failed:
External HTTP parameter entity (
forged_duration.xml) →
LIC017, zero
requests in the DTD server log.
External
file:// entities (several paths, including files placed via the
firmware upload to
/mnt/scratchpad/idrac_fw.bin) →
LIC017.
External general entity in an attribute →
LIC017.
Port discovery: the iDRAC HTTP clients ignore the port in the URL and always
connect to port 80. With
serve.py on 8000/8001/2525,
racadm update never
connected; with the server on port 80, it produced:
CONNECT 192.0.2.10:57376
GET 192.0.2.10 '/firmimg.d7' (non-dtd)
Even with the DTD on port 80, the license service never fetched it, so its
external-entity load is disabled or fails before
connect().
Conclusion: the XXE/TOCTOU is technically sound but blocked by the license
service's entity loader. The leaked-license route made it unnecessary.