Skip to content
IT Optimization
SecurityJuly 18, 2026•13 min

Website security audit: what gets checked and how it works

A website hack rarely looks like it does in the films. More often it is a quiet leak of your customer database, spam sent from your domain, or someone else's crypto miner on your server, noticed only through the hosting bill. A security audit is a way to find the holes before someone else does. Below we look at what exactly gets checked and how the process works from the inside.

Website security audit: what gets checked and how it works
Cover image generated with AI

What a security audit is

A security audit is a systematic check of a website and its environment for vulnerabilities: errors in the code, weak server settings, outdated dependencies, and careless handling of user data and access rights.

The key word is "systematic". The job is not to run a scanner and hand over its log, but to look at the system through an attacker's eyes: what can be obtained, where you can go from there, and what it will cost the owner. A vulnerability on its own is an abstraction; the value of an audit is that it translates it into clear consequences. "Access to the database backup is open" sounds technical; "anyone can download your entire customer database" is clear.

The result is not a list of warnings but a prioritised document: what needs fixing today, what can be scheduled for a sprint, and what simply needs to be noted.

Audit, penetration test and scanner: what's the difference

Three terms that are constantly confused, even though they cost different amounts and deliver different things.

Automated scanning: a program crawls the site and checks it against a database of known problems, such as an outdated CMS version, an open port, a missing header or a component with a publicly disclosed vulnerability. It is fast, cheap and often free. The limitation is fundamental: a scanner does not understand what your application means. It will never work out that a manager who puts someone else's ID into the URL can see another department's deal, because technically that is a valid request returning a valid response.

A security audit is scanning plus manual work: a specialist studies the logic, roles and scenarios and checks what a machine cannot. The goal is to find as many problems as possible and describe how to close them.

A penetration test (pentest) has a different goal: not to compile a complete list, but to show that the defences can be breached at all. A pentester looks for a way in, and having found one, often doesn't spend time on the rest. It is proof of a vulnerability, not a map of every hole.

For a site that has never been checked before, an audit is usually what you need: it gives the full picture. A pentest makes more sense once basic hygiene is in place and you need to put the defences to a real test.

When to get checked

Before launch. It is cheaper to find a problem before the site has real users and their data.

After a major update. A new customer account area, online payments, an integration with an external service: each such feature adds entry points that weren't there before.

When you change contractors. You are taking over someone else's code and don't know what is in it. It is also a good reason to check who still has access to the server and the admin panel.

When a partner or client requires it. In tenders and corporate contracts, a security check increasingly appears as a separate item.

After an incident. Here the audit answers not only "what is vulnerable" but also "how did they get in, and are they still inside".

And regularly, if the site has customer accounts, payments or personal data. Code changes, dependencies age and new vulnerabilities are published every week, so a one-off check reflects only the day it was carried out.

What gets checked: the OWASP Top 10

The check is built on the OWASP Top 10, the widely accepted list of the most common and dangerous classes of web vulnerabilities. It is updated every few years and serves as a common language: if a contractor says "we checked against OWASP", it is clear what they mean.

Broken access control. The most common and most underestimated category: a user gets something they are not entitled to. The classic examples are substituting someone else's ID in a URL or a request, reaching admin sections via a direct link, and changing other people's records.

Cryptographic failures. Passwords stored without proper hashing, data sent over HTTP, home-made "encryption", tokens that cannot be revoked.

Injection. Someone else's code slipped in through input fields and request parameters: SQL, operating system commands, cross-site scripting (XSS). A classic of the genre that has not gone anywhere.

Insecure design. The problem lies not in a specific line of code but in the concept: password recovery via the question "mother's maiden name", no limit on the number of attempts, trusting data that came from the client.

Security misconfiguration. Debug mode on the production server, default accounts, unnecessary open ports, detailed error messages with stack traces, accessible service directories.

Outdated components. CMSs, plugins and libraries with publicly disclosed vulnerabilities. The most mechanical category, and at the same time the most widespread.

Authentication failures. Weak password requirements, sessions that never expire, no second factor where one is needed, improper logout.

Data and update integrity. Installing packages and updates from unverified sources, no signatures.

Insufficient logging. If nobody saw the attack, it carries on. Without logs, after an incident you will not be able to work out either how they got in or what they managed to take.

Server-side request forgery (SSRF). At the user's instruction, the application sends requests to internal addresses that should not be reachable from outside.

What gets checked besides the code

An application vulnerability is only part of the picture. Just as many problems are found around it.

The server and environment: software versions, ports and control panels exposed to the internet, external access to the database, file permissions, running as a privileged user where that isn't needed.

HTTPS and headers: a valid certificate and its automatic renewal, a forced redirect to HTTPS, and security headers that stop the page being embedded in someone else's frame and third-party code being injected into it.

Access. Who can log in to the admin panel, the server, the repository and the hosting control panel. Accounts belonging to former employees and former contractors are a common finding, and usually an unpleasant one.

Backups. Not only "do they exist", but also "has anyone tried restoring from them" and "where are they stored". A backup available via a direct link from the site root is not protection but an extra vulnerability.

Service files and forgotten leftovers. Test subdomains, old versions of the site, configuration files, an unprotected version control folder, debug pages. Automated bots find all of these within a day of publication.

How an audit works

Reconnaissance. A map is drawn up: which technologies are used, where the entry points are, what user roles exist and which external services are connected. Without this, testing turns into random poking.

Automated scanning. Tools quickly cover the routine issues. The standard set: web vulnerability scanners such as OWASP ZAP or Burp Suite, network scanners along the lines of Nmap, checks of dependencies and the CMS for known vulnerabilities, and separate utilities for HTTPS configuration and headers.

Manual testing. The most valuable and most time-consuming part. The specialist goes through scenarios as different roles, tries to get hold of other users' data, tampers with parameters, and looks for business logic errors and for chains where two details that are harmless on their own add up to a real problem.

Infrastructure and access review: the server, permissions, backups and accounts.

Report. Findings are compiled with priorities and recommendations.

Retesting after fixes. Without it, the audit remains an exercise: you need to make sure the fix has actually closed the problem rather than masked a symptom.

What turns up most often

The same set of issues recurs from project to project, and the distribution is fairly stable.

In first place, by a wide margin, are outdated CMSs, plugins and libraries. They turn up almost every time, because updates get put off on the principle of "if it works, don't touch it". The problem is that for a publicly disclosed vulnerability a ready-made exploit is usually freely available, and such sites are found not by people but by bots that sweep the internet one address after another.

In second place is the lack of any limit on login attempts. A form that lets anyone guess passwords endlessly cancels out any password complexity policy.

Next come forgotten service files: database backups in the site root, configuration files containing passwords, an unprotected `.git` folder from which the entire source code can be downloaded, old test pages.

Then comes access to other people's data by iterating through IDs. Technically it is one unchecked line; in practice it is the ability to download other people's orders or documents.

And regularly: debug mode on the production server, accounts of former employees, passwords stored in plain text, no HTTPS on certain pages, detailed error messages that reveal the database structure.

The reassuring part: almost everything on this list can be fixed quickly and without rewriting the product. Only architectural mistakes are expensive, and they are noticeably rarer.

Signs that your site has already been hacked

A hack is by no means always noticeable. A careful attacker wants to keep access for as long as possible, so they avoid making loud changes. The following should raise a red flag.

Emails from your domain that you didn't send, or your domain suddenly landing on spam blacklists: a typical sign that the server is being used to send out spam.

An unexplained rise in load and in hosting bills. Someone else's miner or bot traffic looks exactly like this.

A browser or search engine warning that the site is unsafe, an email from your hosting provider, a sharp drop in rankings: owners often learn about a hack from exactly these, rather than from their own team.

Pages appearing that you didn't create, especially in another language or about gambling and medicines. Sometimes they are visible only to search engine crawlers and not to ordinary visitors.

Unfamiliar administrator accounts, modified files with recent dates, new jobs in the server's task scheduler.

If any of this matches, the order of action is as follows: take a fresh copy of the system in its current state (you will need it for the investigation), change all passwords and keys, including hosting and database access, check the list of administrators, and only then restore from a backup known to be clean. Restoring without finding the cause usually ends in another hack through the same door.

What a report should contain

The report is the only tangible result of an audit, and it shows the quality of the work.

Every finding is described the same way: what was found, exactly where, how to reproduce it, what risk it poses and what specifically to do. Without the "how to reproduce" step, a developer can neither verify the problem nor confirm that they have fixed it.

Severity levels are assigned according to consequences, not gut feeling: critical issues are fixed immediately, high ones within the next few days, medium ones are scheduled, and low ones are noted. They usually rely on a widely accepted vulnerability scoring scale, so that the priority can be explained rather than simply declared.

Separately, there is a short summary for management, free of jargon: how many issues were found, which of them are serious, and how long the fixes will take.

A bad report is easy to spot: it is an unprocessed scanner dump in which half the items don't apply to your site and the priorities were assigned automatically.

Who fixes what was found

A report on its own does not make anything more secure. From there, there are two paths.

The first: your own team fixes it. This is cheaper and makes more sense if you have developers who know the product. The auditor's job here is to stay available: explain anything unclear and then verify the result.

The second: whoever ran the check fixes it. This is faster and usually more reliable, because the person who found the problem understands exactly how it works. With us, this is included in the extended audit plan, while updates and ongoing checks are part of IT support.

Either way, retesting is essential. A fix that looks right often closes the symptom rather than the cause: for example, it removes the ability to enter someone else's ID in a form but leaves it open when the API is called directly.

The legal side

A data leak is not just a matter of reputation. If your site has customer accounts, enquiry forms or checkout, you are processing personal data and fall under Federal Law 152-FZ, Russia's personal data law, with all the obligations of a data operator.

Fines for violations in this area have risen many times over since 2025, and separate liability has been introduced for personal data leaks, with the amount depending on the volume of data leaked. Late notification of the regulator about an incident is penalised separately, which means that trying to deal with it quietly on your own makes your position worse.

The practical conclusion is simple: an audit costs incomparably less than the consequences of a leak, and basic hygiene (updates, restricted access, encryption, logging) is both protection and compliance with the law.

How to avoid needing a rescue audit

Security is a process, not a one-off event. Between full checks, routine work does the job, and it covers most of what we find.

Update the CMS, plugins and dependencies regularly: this removes the most widespread category of findings. When we provide IT support, we do this monthly.

Keep track of access: delete the accounts of people who have left, don't hand out administrator rights by default, and change keys after a contractor leaves.

Make backups and check at least once that you can actually restore from them. An untested backup is a hope, not a backup.

Keep an eye on the certificate, uptime and logs: most incidents first show up as an anomaly on a graph, not as a message saying "you've been hacked".

Check the site after every major release, not once a year when the occasion arises. A new feature means new entry points.

The short version

  • A scanner finds what is already known, an audit finds logic and access control errors, and a pentest proves that a breach is possible. These are three different jobs.
  • The most widespread finding is outdated CMSs, plugins and libraries; such sites are found by bots that sweep the internet one address after another.
  • You need to check not only the code but also the server, access, backups and forgotten service files.
  • A good report explains how to reproduce the problem; otherwise a developer can neither verify it nor confirm that it has been fixed.
  • After fixes, retesting is needed: a fix often closes the symptom rather than the cause.
  • A site with customer accounts and enquiry forms processes personal data, which means it falls under 152-FZ.

Hand it to us

Understanding it yourself is one thing; getting it built and working is another. These are the areas where we solve the problems this article is about.

Tell us what you need built

Write to us whichever way suits you — messenger, phone or email. We will reply and suggest a way of working.

Telegram@dujaiiWhatsApp+7 996 326-61-61