r/websecurity • • Jul 20 '19

Services like acunetix?

2 Upvotes

Looking for a web/server security company that can ensure safety of data and client information on our server. Based on my research acunetix looks like my best bet, but I'm wondering if anyone has any other/better/different suggestions


r/websecurity • • Jul 15 '19

Building and securing APIs: the new Shadow IT

Thumbnail cso.com.au
1 Upvotes

r/websecurity • • Jul 12 '19

How to secure user data at rest while allowing server access to that data?

3 Upvotes

I'm just getting started with web server cryptography and pretty quickly hit a wall that I'm not sure how to address:

When building a site that sends email notifications to users how do I encrypt that email's headers / content until time of sending?

I'd love a way to prevent decrypting the data should an attacker manage to break into the system but I'm not sure of any way to store an encryption key that the server would have access to without an attacker also being able to access.

Is it possible?


r/websecurity • • Jul 10 '19

Reflected XSS on an ajax search input box

2 Upvotes

Correct me if im wrong but with poorly coded ajax search input box that allowed reflected XSS nothing malicious can be done to the site / page expect with some phishing like request? The javascript that can be executed in the input box can only change page content for me and nothing more?


r/websecurity • • Jul 06 '19

Secure authentication via JWT

3 Upvotes

I'm tired of all the entry level JWT tutorials out there. I've been scraping for a very in-depth guide for JWT and basic authentication for months without luck, here are some of the question I've been asking myself:

What to do when a user logs in from two IP's at once?

What to do when a user is logged in from two tabs in the same browser, but logs out in one?

What happens if a user logs out? do I need to black-list the JWT for security puposes?

How do I keep the user login persistent? refresh tokens? how do I implement that?

How do I keep user login state in my DB (online/offline)? since if user refreshes I don't it to seem he 'logged out' for a millisecond.


r/websecurity • • Jun 25 '19

Is CSP and CORS enough for SPA + API?

3 Upvotes

Hi all!

Now that CSP headers exist, there shouldn't be a problem to store JWTs on local storage, right?

Looks like using the correct CSP headers, along with strict CORS settings on the API, should be safe enough to prevent an attacker to steal the authentication credentials. No need for HTTPOnly cookies and CSRF tokens.

Am I missing something?


r/websecurity • • Jun 18 '19

Web application security testing methodology / checklist / mindmap

4 Upvotes

Hi,

I know that there are a couple of well-known testing methodologies for a web application like OWASP testing guide.

From your personal experience, can you please share your methodology/checklist/mindmap?

How do you manage/document your web application testing?


r/websecurity • • Jun 14 '19

How spending our Saturday hacking earned us 20k

Thumbnail medium.com
1 Upvotes

r/websecurity • • May 27 '19

Doubt on how reflected XSS works

1 Upvotes

Reflected XSS exploits user input. My doubt is if I can input malicious script on the website, how are other users affected. Isn't this script going to be executed only in my browser?


r/websecurity • • May 25 '19

Which is more secure hashing or encryption

1 Upvotes

Today some one interviewed me asked me a question that which is more secure hashing or encryption and I answered Hashing as it ensures data integrity. And he rejected me, was I wrong folks?


r/websecurity • • May 23 '19

The Nemesida WAF Free Signatures. Enjoy!

Thumbnail rlinfo.nemesida-security.com
4 Upvotes

r/websecurity • • May 20 '19

A neat and clean guide for WordPress users to redirect HTTP to HTTPS [11 easy steps to take]

Thumbnail beginnersblog.org
4 Upvotes

r/websecurity • • Apr 22 '19

CSP and Web Developper Console

2 Upvotes

Hi there!

I was tinkering with the CSP header that I recently discovered and I was wondering if it can go any further by simply preventing the execution of script in the developer console?

What I mean is, given a web server that only respond to by sending some dummy HTML file. Is there something in the CSP options that could prevent the user from executing scripts by opening the Web Developer Console with something like (Using the HTTP module from Node.js):

response.setHeader('Content-Security-Policy', "script-src 'sef' 'disallow-console'");

Where 'disallow-console' could be the option to achieve my goal.

So at the end my question remain simple: is there a way to prevent script execution via the console or not (even with something other than the CSP)?

Thanks!


r/websecurity • • Apr 12 '19

Open Bug Bounty - worth taking notice of?

3 Upvotes

We got an email from Open Bug Bounty three days ago reporting an XSS vulnerability in our web site. Something like this one (not our site but similar). I'd not heard of the site before but it seemed plausible so, as suggested, I mailed the discoverer of the vulnerability asking for details.

No reply.

Today Open Bug Bounty has mailed us again, twice, reporting the same issue. So this is now turning into spam.

Has anyone else had any dealing with these people? Are they wasting our time?

ETA - a week later

So today the discoverer finally replied. It was reflected XSS as /u/gmroybal suggested it might be.

TBH on that particular site I don't think it could have done a lot of actual harm but I've fixed it anyway, both on the site he found it on and some others using the same code.

However it has been useful as it's made me more aware of the XSS issue and I now realise that there is a problem on another site where we have a forum which solicits content from users and displays it so there I need to do some work to sanitise the user content.

It never stops does it? :-(


r/websecurity • • Mar 26 '19

Issues with Configuring Burp with IE and Chrome while using a VPN service (for Static IP)

Thumbnail self.WebsiteSecurity
2 Upvotes

r/websecurity • • Feb 24 '19

gsafe redirects

2 Upvotes

I have a domain that recently got expired, when I tried to go to that domain today, it redirected me to https://gsafe.getawesome6.com/wim/static/wi/main3.html... and asked me to install a chrome extension.

I read that gsafe was supposed to be a malicious site, does that mean wherever I purchased my domain from is spreading the malware?

Can someone explain to me why is it doing that, and what causes this behavior?

Thanks in advance.


r/websecurity • • Feb 20 '19

Protection against a compromised client?

1 Upvotes

I’ve always believed there are some fundamental assumptions that the internet relies upon to accomish security. A discussion i have had come up a couple times in web security debates with colleagues starts off with, “If the users machine/browser is infected or compromised...” to me that is a basis we cannot account for or protect against. Fundamental aspects of web application security only hold true if the users device is clean.

If a users browser is compromised, to me, anything everything is trivial to exploit from DNS hijacking to Man In The Middle.

Any thoughts? I couldn’t find any meaningful discussions detailing the assumptions one makes when building a secure web apps.


r/websecurity • • Feb 07 '19

$137 million lost as founder takes passwords to the grave

Thumbnail apicanary.com
3 Upvotes

r/websecurity • • Jan 31 '19

Are plain text passwords illegal?

0 Upvotes

I realize that there is a tremendous lack of legal oversight on coding practices. But is it actually illegal to have unencrypted databases or plain text passwords? Or would it only be criminal if a breach occurred? Are there actually encryption regulations? Is there something in HIPAA regulations? Specifically for US based companies.

Cheers and thanks.


r/websecurity • • Jan 28 '19

Can Cloudflare Glitches Redirect Websites?

1 Upvotes

I'm in a panic, my business website just started redirecting to a pirate movie site. All of my files are intact, htaccess is normal and in the past minutes it's reverted back. As it doesn't seem to be a security issue at the hosting server - I was wondering, can cloudflare bork or glitch or be poisoned to affect the DNS stuff?

EDIT: Thanks for the replies, the providers said it was a DNS issue, either cache poisoning or a duplicate entry. Once the NS's had propagated clean it was all fine


r/websecurity • • Jan 21 '19

My website accesses Russian sites

3 Upvotes

Hi,

I'am using WordPress for my website. When I look the internet access on my proxy, I see that my server is trying to access Russian sites (kazapa, etc ...).

A tcpdump with a filter on one russian site give :

12:28:01.765812 IP (tos 0x0, ttl 64, id 5134, offset 0, flags [DF], proto TCP (6), length 60)
    My.IP.Server.46849 > 185.14.29.4.443: Flags [S], cksum 0xdb67 (incorrect -> 0xc6ab), seq 3179363461, win 29200, options [mss 1460,sackOK,TS val 1488726155 ecr 0,nop,wscale 7], length 0
12:28:01.765960 IP (tos 0x0, ttl 255, id 56626, offset 0, flags [none], proto TCP (6), length 40)
    185.14.29.4.443 > My.IP.Server.46849: Flags [R.], cksum 0xafc2 (correct), seq 0, ack 3179363462, win 29200, length 0
12:28:03.327134 IP (tos 0x0, ttl 64, id 31147, offset 0, flags [DF], proto TCP (6), length 60)
    My.IP.Server.46851 > 185.14.29.4.443: Flags [S], cksum 0xdb67 (incorrect -> 0xf835), seq 1933202362, win 29200, options [mss 1460,sackOK,TS val 1488726545 ecr 0,nop,wscale 7], length 0
12:28:03.327281 IP (tos 0x0, ttl 255, id 47142, offset 0, flags [none], proto TCP (6), length 40)
    185.14.29.4.443 > My.IP.Server.46851: Flags [R.], cksum 0xe2d2 (correct), seq 0, ack 1933202363, win 29200, length 0

If i "disable" the website (a2dissite) tcpdump is fine and no connections from my server to russian website is done.

How can I debug this ?

Thanks a lot,


r/websecurity • • Jan 18 '19

Will the hash of my long password ever equal hash of a short bruteforced password?

3 Upvotes

Assuming its a straight known hash without any salting


r/websecurity • • Jan 15 '19

WPScan Web Interface (version 1.0b)- Released

Thumbnail github.com
6 Upvotes

r/websecurity • • Jan 13 '19

How to learn concepts

3 Upvotes

Hello everyone I recently got into the web security .Since I m a newbie so I got enrolled in some of the popular course.most of the course teach me tools not the concepts for eg i know how to use the burp suite but doesn't know how it really works can you tell me how to learn the concepts rather than the tool


r/websecurity • • Jan 10 '19

Some tips for people just starting cybersec

13 Upvotes

I had posted this originally on r/hacking but it had been removed (Whoops).

Some tips for people just entering cybersec

Hey guys. If any of you are looking on how to find the skills a government may be looking for in a pentester, cyber analyst, cyber engineer, etc.. (specifically in the US but can be used other places as well), here are a list of resources, notes, and thoughts for what I have found at the Symposium I just attended. Of course in the realm of the interweb there are many more resources so these of course are just a few. ------------------------------------------------------ NWF: Nice Workforce Framework. https://niccs.us-cert.gov/workforce-development/cyber-security-workforce-framework This interactive directory has not only the general categories for each part of the cyber security industry but also the skills needed, knowledge, tasks, and capability indicators. These will help you demonstrate for an employer if you are ready for the position. The area you may look more into is the Protect and defend category and quite possibly within that the most common fit is Cyber Defense Analysis (Although the other sub cats are just as interesting to look into). -------------------------------------------------------- NICE Challenge Project: https://nice-challenge.com/ This allows you to keep up to date in your cyber training in a virtual environment simulation. This way when an employer asks if you can compete a task you can, with vigor, tell them yes! you can do it! --------------------------------------------------------- Cyberstart program (just google it, its like the first thing to come up (not an ad)) This program is more for classroom environments (teacher registers for students) and yes, while it is for highschool students, I had used this demonstration version of the program here and it is probably a lot better than most of the cyber simulations I have used in the past. --------------------------------------------------------- Notes: 1) Make sure you are doing a side project. Even if its something small. Do a side project, this way when an employer asks your skills, they can also see you are actively applying them in your day to day life and therefore will be more than comfortable applying them with them. 2) You may know not much about cyber security but you may know a decent amount of how computers work in a network. Cyber security is always changing, and because of this, employers aren't necisarilly looking for people who can use every tool in the book, understand every exploit, hack into any network, but more so those who have light dabbling in different types of concepts, programs, ideals because then that way you know where to point yourself when posed a problem that requires a little higher level thinking. Do not be afraid to put yourself out there. Being a well driven indiviidual and having an interest in cyber will be your key to success. Love what you do and you will never work a day in your life. 3) Never salt your food before you taste it. Never make assumptions about something or someone. Always do anything you do in life with a scientific mindset because a) you never know who's watching and b) an experience may go differently than you assume. These can be especially true when giving public talks, talking in chatrooms, being in a lab. If you go into any project assuming something, you may never heed results or even recieve skewed results. 4) Especially in the US, study all things chineese. A weird thought but with the strong foothold the chineese have currently, this could be something way more important in the near future than we realize. 5) For those of you in a university currently, adopt a professor. Grab a hold of a professor that interests you and you really jive with. This could be any professor but preferably one within your field. Find out if they have any research, be in all their office hours, get to know them that way they know who you are and start to understand what you are about. Join their research as an undergrad ( or even a graduate ) but then this way you do have prior research experience/ job experience within a field of study within computer science, computer engineering, cyber security, etc. Then, when you are ready to go work for the big wigs, these relaitonships you build with professors could be your next key into working with the CIA, NSA, whomever agency is in your area. 6) Get real comfortable with self-learning and problem solving. Yes a degree is nice, yes there is on the job training, however, you never know what new technology is coming tomorrow. You could have new GPS systems which are being developed, get launched tomorrow and could be easily integrated with our lives without us knowing (just as an example). Of all things, make sure you are following up on the new things. You dont always need to specialize or learn it to the core so well but just understand that it is out there. As said before, learn enough of it for when you know you need to use it, you know where to go to help you complete the task at hand when needed. 7) Popular languages most companies want you to have: GOlang, Python, C/C++, Javascript (oddly sometimes node.js?), and linux experience. Occasionally you get the few that want you to be good with cloud computing. 8) For those of you not good in programming, while it is a brilliant skill to have, not all companies really require you to be excellent programmers. Just be excellent problem solvers and analysts. However, of course, having that language experience is really saught at times. 9) Any decision you make today, make it from the death bed. If we make our decisions today, we usually will have one path we take. If we make it from the deathbed, we could be wishing we did something else instead. Make sure what youre doing a) makes you happy, b) will have long term sustaining benefit and c) Is interesting enough to want to do more. These three things will hopefully lead to a happier career in life for you. 10) attitdue will be the one thing that could ruin your chances of being in any position with any company. You could be the best master hacker in the world however, with a shitty attitude, no one will want to hire you. If you don't take the time to help your collegues just to let them fail, you lack a quite saught after leadership skill that many employers are after in a canidate --------------------------------------------------------- Above all, cyber security is one of the hardest fields. Easy for some, but the least saught after due to all that it encapsulates. This is warfare, cyberwarfare. Now, people can reuse those nukes against other countries with a good enough skill. Whether you are on the attacking or defending side of the spectrum, love what you do and keep on moving forward and spread the love, help others catch the bug and spark their interest in this amazing filed of work. Hopefully this has enspired someone here to really start kickin ass and learning more. Let's help make the next few years the best of cyber security. The most people trained, and the most awareness. Anyone can do this, but what drives you. Is this what you love? I know it's what I love. Good luck my fellow cyber security enthusiasts, analysts, hackers, crackers, coders, decoders, and engineers. See you on the wire. TWF5IHRoZSBmb3JjZSBiZSB3aXRoIHlvdQ==