-
Notifications
You must be signed in to change notification settings - Fork 20.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SEC-4 JSON RPC interface allows all origins #331
Milestone
Comments
Closed
What origins do we expect to talk to the RPC? |
tgerring
added a commit
to tgerring/go-ethereum
that referenced
this issue
Mar 29, 2015
AusIV
pushed a commit
to NoteGio/go-ethereum
that referenced
this issue
Jul 12, 2021
docs: fix minor typos
tanishqjasoria
pushed a commit
to tanishqjasoria/go-ethereum
that referenced
this issue
Oct 31, 2023
* add Archimedes hard fork block number for Scroll Alpha * bump version
maoueh
pushed a commit
to streamingfast/go-ethereum
that referenced
this issue
Jun 13, 2024
s1na
pushed a commit
to s1na/go-ethereum
that referenced
this issue
Dec 2, 2024
* core: fix blockHash for eth_getLogs, eth_getFilterLogs, eth_getTransactionReceipt (ethereum#208) * eth/filters: fix blockHash in eth_getfilterchanges (ethereum#208) * set testnet v2 block (ethereum#330) * set testnet v2 block * set testnet v2 block
luanxu-mxc
pushed a commit
to MXCzkEVM/mxc-geth
that referenced
this issue
Dec 26, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The JSON RPC server whitelists all origins in its cross origin resource header configuration: https://github.com/ethereum/go-ethereum/blob/develop/rpc/http/server.go#L89
This configuration bypasses cross origin request protections built in to most modern browsers. For example, it will allow an attacker to originate a transaction via the RPC interface if a user loads a malicious web page.
RECOMMENDATION:
Only whitelist trusted domains that are required for RPC interaction.
The text was updated successfully, but these errors were encountered: