SPB Git

Repository Public

QYV-FUZ-080.json 2.7 KB 26 lines json

1{2  "id": "QYV-FUZ-080",3  "title": "Explorer links of UTXO networks were built from any alphanumeric text, without an explorer on Dogecoin Testnet and with the wrong path on Dogecoin",4  "severity": "medium",5  "cvss_vector": "",6  "cvss_score": null,7  "cwe": "CWE-20",8  "masvs": "MASVS-CODE-4",9  "area": "wallet",10  "location": "Sources/QyvoraWallet/Chains.swift:215",11  "tool": "qyfuzz",12  "rule": "network-table:an explorer link points at",13  "status": "fixed",14  "fix_commit": "19b2fc5",15  "regression_test": "QyvoraWalletTests.MultichainExplorerLinkRegressionTests.utxoExplorerLinksNeedAnExplorerAndAnAddressOfTheNetwork; security/tests FuzzReplayTests (crash reproducer replay)",16  "description": "Root cause: `ChainDescriptor.explorerAddressURL` accepted, for a UTXO network, any text of 14 to 90 alphanumeric characters and prefixed it with the explorer base of the network; `explorerTransactionURL` used \"<base>/tx/\" for every network. `BitcoinNetwork.explorerBaseURL` is nil for Dogecoin Testnet (read as an empty text), and the Dogecoin explorer names its transaction page \"/transaction/\". Impact: (1) on Dogecoin Testnet the function returned URLs without scheme or host (\"/address/…\", \"/tx/…\"), which an interface cannot open; (2) the transaction hash of another family, or any word, was linked as an \"address\" of a Bitcoin, Litecoin or Bitcoin Cash explorer, against the documented contract (\"nil when the text is not an address of this chain's family\"); (3) Dogecoin transaction links pointed at a page that does not exist. No key, fund or signature is involved; the links are opened by the user. Rated medium by the rule \"a crash found by fuzzing is at least medium\" (the harness invariant stopped the worker); the impact alone would be low.",17  "recommendation": "Build the links from the network's own description: `BitcoinNetwork.explorerTransactionURL(txid:)`, and for an address require an explorer and a text that parses as an address of that network.",18  "evidence": "security/fuzzing/crashes/network-table/8deb7b19c3b894d63db003fa0c2459a3fa5faf0cb6e4b60260be77cbfec043fa.bin (67 bytes: \"d0x\" + 64 hexadecimal digits) — message: FUZZ-INVARIANT: an explorer link points at (empty host)",19  "fingerprint": "3df2531b02d7",20  "reported": "2026-12-05",21  "owner": "integrator",22  "fixed": "2026-12-05",23  "verification": "Root-package tests on M5M36 (Swift 6.4, release): QyvoraWalletTests, QyvoraNetworkingTests, QyvoraCoreTests; audit-package suites EVMChains* and Multichain* on M5M36.",24  "resolution_note": "Fixed as recommended. `qyfuzz repro network-table <reproducer>` answers ok after the fix; the target then ran 125 s × 4 workers without a crash (figures in the report of the area)."25}26
Files main
Menu

Theme