Home  >  Article  >  CMS Tutorial  >  What should I do if Dedecms is often cheated?

What should I do if Dedecms is often cheated?

藏色散人
藏色散人Original
2019-12-12 10:34:152061browse

What should I do if Dedecms is often cheated?

What should I do if Dedecms is often cheated?

Dedicated to webmaster friends who are often cheated, please Be careful at every step to prevent horse hanging

Recommended study:梦Weavercms

As in the title:

I often see some friends say "DEDECMS There is a security issue with the program, and my website has been hacked again."

I think there should be no problem with DedeCms. According to the source code of dede's user form, it is filtered

There are so many users of dedecms. If there is a security vulnerability, I'm afraid it won't be just a few friends who use it.

The following are SQL injection methods commonly used by hackers and things that everyone should pay attention to

1.. Use tools, use hacker tools to check the vulnerabilities of your website~Of course Don’t abuse it. Just use some hacking software that injects SQL to check your website (such as D injector, etc., I have used them all, and I have not found any loopholes or places where Dede can be hacked. If you don’t believe me, you can also test it. Of course, just because I don’t know doesn’t mean there isn’t one, but you should also know how many friends use dede. If there is a vulnerability that is easy to be caught, the number of websites that will be hung up will probably be terrifying)

2 .The backend address must be changed. Do not use the DEDE folder as your backend. Some friends don’t even know that the Dede backend folder can be renamed! ?

3. It is best to add a verification code in the background. Although it is a bit troublesome, it can prevent many small hackers from using social engineering to crack your website (I have tried it, many friends’ passwords are often Mobile phone number, domain name, QQ, etc.)

4. If you add fields to your website (such as requiring users to enter their birthday when applying, etc.) to filter, don't push your own problems to DEDE. (It is recommended that friends with certain PHP skills modify it. In order to achieve the function, it is not as simple as adding a form in the foreground and adding a publishing form in the background and then adding database fields. To prevent XSS attacks, you must pay attention to adding htmlspecialchars, mysql_escape_string())

5. There are also many friends who use some small programs in their own space to add functions (I also used those programs and forgot to delete them, but they were blocked), such as: photo albums, registration and other programs, The authors of these programs are all unknown, and their programs basically have certain risks. Some hackers can take advantage of this and upload the blackeyes pony (that is, a Trojan) to gain the right to use your virtual space, and then Just use tools to mount horses in batches.

6. Don’t ignore the risks of IDC server providers. Let me tell you, for hackers, in order to hack your site, they often choose side injection instead of point-to-point cracking. The only way is to crack other websites on the same server as yours. Don’t believe it. It is very easy for others to know who your website’s neighbors are (go to this website to check all the websites under the same IP by yourself, just enter your IP address. https://www.xx.net), it is also very easy to crack other users on the same server and make you hang up (I have used this method to hang up other people's websites). For some good servers that are strong enough to handle this restriction, this problem will not occur.

7. Also, it is best to strictly control the user upload column you enable. This is also critical. If the hacker does not crack your backend, it will be much more difficult to hang you because they need to Upload a horse-mounting tool. If you have been horse-mounted, remember to check whether your website allows uploading of files such as html.php.asp.

8. Always pay attention to the security patches officially released by Dede. I have studied several security patches released last time. Some vulnerabilities can be exploited by others due to dual reasons (Dede actually also pays attention to it. It can be seen that DEDE still pays attention to security issues. I remember that the member patch was released in January. In February, some hacker websites published articles about malware for websites that did not apply this patch. Some friends actually fell into the trap ~ I Very speechless, I hope everyone will pay attention to the official security patches at any time)

9. Some friends often upload the files after winning the horse to this forum and hope that everyone can study together. I want to say "It won't work even if it is uploaded." There is a way to prevent it, because the JS or iframe is not the key. If you upload it, everyone can only crack the Trojan horse that encrypted the file." What others leave behind is just a purpose, not a tool.

10. Irresistible natural factors, such as a super top hacker trying to hack your website. I'm afraid that many things that are not faulty will have problems. Believe me, the hackers who hack your website are all rookies. Hackers and tool hackers, if you do the above, those hackers will not know what to do.

I didn’t want to post this at first, but I don’t know why I ended up writing so much!

The purpose of posting this article is just to hope that everyone can protect their websites and not to use bad words. !

If there are any latest vulnerabilities or other hacking methods, I will publish an article on dede as soon as possible~

I wish everyone good luck!

The above is the detailed content of What should I do if Dedecms is often cheated?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn