Can they for example simply copy the cookie and “be” logged in as the user who was the original cookie owner?
Yes! with the cookie they basically have your login session. You do not want 3rd parties to get the cookie. Keep in mind there is more than 1 cookie, for frontend and for backend.
I ask this because i’m planning on passing the auth cookie value between different servers.
I would advise against sending the actual cookie across servers. This sounds like an XY problem question, where instead of asking how to solve problem X
, you asked how to implement or fix solution Y
. There are better ways to handle users across multiple servers ( some of which are a part of how cookies work ), but it would depend on what you’re doing that necessitates this, you’d need to ask a new question ( possibly on another stack )
Related Posts:
- How does the “authentication unique keys and salts” feature work?
- What is the purpose of having a token in cookies?
- How to secure or disable the RSS feeds?
- Do Cookies Need to be Sanatized Before Being Saved?
- Security error WP 4.0 + WP phpBB Bridge [closed]
- How do I authenticate WP users from a chrome extension?
- Best Way to Enable Two Step Authentication
- Restricting access to content
- Single sign-on: wp_authenticate_user vs wp_authenticate
- Session Cookie security questions
- Uploading attachment (pdf) and prevent download for anonymous user
- Why is SSH password authentication a security risk?
- SSL Error: unable to get local issuer certificate
- When you use ‘badidea’ or ‘thisisunsafe’ to bypass a Chrome certificate/HSTS error, does it only apply for the current site? [closed]
- Why does the URL http://a/%%30%30 crash Google Chrome?
- When you use ‘badidea’ or ‘thisisunsafe’ to bypass a Chrome certificate/HSTS error, does it only apply for the current site?
- Can an attacker use inspect element harmfully?
- Where does Internet Explorer store saved passwords?
- Automatic WordPress Login of Logged In ClickFunnels User
- WordPress 4.7.1 REST API still exposing users
- Should I escape wordpress functions like the_title, the_excerpt, the_content
- Why does WordPress need my private ssh key to update?
- When to use esc_html and when to use sanitize_text_field?
- What is the ideal setup to address security concerns?
- Will there be security updates for 3.1 once 3.2 is released?
- WordPress it’s cleaning a custom query_var to avoid sql injections?
- Can someone explain the use cases of esc_html?
- Tips for finding SPAM links injected into the_content
- Is WordPress vulnerable to the httpoxy?
- Prevent setup-config.php page from appearing when host blocks database
- wp.getUsersBlogs XMLRPC Brute Force Attack/Vulnerability
- Is there a security risk giving someone temporary access to my blog’s code?
- How to properly sanitize/secure a WP Query coming from the front end
- What should I do about hacked server?
- Website is being flooded [closed]
- Is there any point setting the keys and salts in wp-config.php?
- Is there a way for a user to have an alias?
- Security – Shortcode injection attack
- Registration Plugin – Recaptcha integration
- Security threat with `home_url`?
- How to combat flooding admin-ajax.php?
- Moving away from MD5: Where to declare the custom global $wp_hasher?
- Would it be dangerous to send all the wp_options to javascript file?
- Frequently getting attacks on admin-ajax.php, wp-cron.php, xmlrpc.php and wp-login.php
- Should I disable directory listing for wp-includes?
- Authentication with the Rest API when using an External Application
- Safety side of storing emoji into database
- WordPress authentication cookie and ajax calls
- How can I safely hide the fact that my website runs on WordPress? [closed]
- How to change permissions of WordPress and/or apache on macOS securely?
- How can I display nickname instead username in links
- My WordPress Websites are always under attack
- Is there value in using a wp_nonce for POST requests?
- How to hide easy access to my website temporarily?
- Can I Remove xmlrpc.php completely?
- Config file with no Keys..?
- How much should I worry about these messages?
- Uploading .webm format on WordPress results in security guidline breach and fail
- Any any insecure http:// URLs left in wordpress?
- White screen of death on admin pages after moving wp-config up two levels for security
- Detect if authentication is set to “remember” a user being logged on
- Storing FTP details in wp-config.php
- Can a WordPress administrator see other users’ passwords?
- Why my plugins are updating automatically?
- Spam injected in w3 total cache page cache [closed]
- Privilege escalation bugs in 2.9?
- Content-Security-Policy blocks WordPress check boxes from being activated
- Prevent editor from adding script or form
- How to change location of wp-config.php to folder or 2 folders up?
- How are readers authenticated for leaving comments?
- Where is function to prevents non logged users access wp-admin?
- Finding where a snippet of code is coming from
- wordpress admin security
- Remove hacked code – out of ideas! [closed]
- Why do people use “admin” username by default? [closed]
- prevent anonymous access to WordPress site (non-admin site)
- WordPress Database Re-installed (Hacked)
- WordPress Security tools
- Robots.txt file not updating
- Security: Critical backend outside of wordpress
- Advice On How to Backup WordPress
- How can I stop other plugins from using my class’ sensitive methods?
- What are WordPress Current Security Issues in 2017?
- wp-config.php moved above root results in no plugin updates
- Password-protect feed and make it usable in major aggregators
- WordPress exploited theme is causing high io load on server
- Securely log in a user without a password using a link?
- how to find the way they hacked my WP site
- How to set custom validation for WordPress Passwords?
- How to stop repeated hack on header.php of custom theme? [closed]
- is this code properly secured
- nginx + wordpress: Best practices for configuring it to be secure, reliable, and fast? [closed]
- How to get real password (before encrypt) when register a user?
- Directory to store secure file
- How can I give someone server access to only duplicate and modify a site?
- How can I implement ansible with per-host passwords, securely?
- Why should I firewall servers?
- Does drilling a hole into a hard drive suffice to make its data unrecoverable?
- Can you alter the default wordpress strong password requirements?
- how to sanitizing $_POST with the correct way?